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.Why? ---- Having a utility that can restart or recompile or reconfigure or re*whatever* 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.Installation ---- [Install npm.](http://nodejs.org/#download) (it comes with Node.js).
$ npm -g install noprob
- is the full path (e.g.
- is the directory that contains the file (e.g. `path/to/`)
- is the full filename including the extension (e.g.
- is the file's name without the extension (e.g.
- is the file's extension (e.g.
To further demonstrate, the following commands are equivalent:
$ noprob -l 'echo <full>'
$ noprob -l 'echo <dir><fullfile>'
$ noprob -l 'echo <dir><name>.<ext>'
though the last command would be left with a trailing
. if the file has no extension while the other two would not.
$ noprob -l 'coffee -c <fullfile>' -e 'coffee' -w src
Copy changed txt files into a mirrored directory tree under the 'copies' folder but with a
.changed before the extension:
$ noprob -l 'mkdir -p copies/<dir> ; cp <full> copies/<dir><name>.changed.<ext>' -e txt