noprob-api
v0.0.2
Published
Simple file change monitoring for any kind of development.
Downloads
3
Readme
Noprob
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.
No worries. Noprob's got your back, no problem.
Run: $ npm -g install noprob
Global commands run once on noprob startup and then on every file change without worrying about specific files. They are defined with -x
or --exec
.
Run and restart a node server on javascript source changes:
$ 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 -l
or --local
.
Compile individual coffescript files in the "src" folder into javascript on demand (closely mimics coffescript's internal -w option):
$ 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/'