How to monitor a folder for changes, and execute a command if it does, on Windows?
- by Camilo Martin
There are similar questions for Linux and Mac, but I'm after a Windows solution here.
The problem is as follows: I want to write several (js) script files in a folder, and have a program monitor that folder for file changes and new files being added, and run a command whenever that happens (to compile them all into one single file).
The solution…