Simple file change monitoring for any kind of development.
Note: Noprob has just been released and I haven't had the chance to test it on Windows yet. I'll get to it soon.
Having a utility that can restart or recompile or reconfigure or rewhatever whenever you change a file can be incredibly convenient. Many programs of this sort are geared to work with a specific toolchain or tend to be overly complicated for what should be a simple task.
No worries. Noprob's got your back, no problem.
Install npm. (it comes with Node.js).
$ npm -g install noprob
<file>to mark where to insert the change file's name in the command string.
There are two ways to execute commands in Noprob: globally and locally.
Global commands run once on noprob startup and then on every file change without worrying about specific files. They are defined with
$ noprob -x 'node server.js' -e 'js'
Local commands accept the
<file> tag which will insert the changed file's name into the command. They are defined with
$ noprob -l 'coffee -c <file>' -e 'coffee' -w src
Copy changed files into a 'copies' folder one directory above the current one (we don't put it in a nested directory since noprob would try to copy new files it copies into there)
$ noprob -l 'cp <file> ../copies/'