aurel
v0.3.2
Published
auto reload
Downloads
3
Readme
aurel
auto reload daemon
install
$ npm install -g aurel
how to use
% ./bin/aurel --help
usage: aurel [-h] [-k] [-d MSEC] [-w DIR] [-c COMMAND] [-j QUERY] [-x REGEXP]
Optional arguments:
-h, --help Show this help message and exit.
-k, --kill kill previous process when file changed
-d MSEC, --debounce MSEC
debounce (default: 1000)
-w DIR, --directory DIR
directories to watch
-c COMMAND, --command COMMAND
commands
-j QUERY, --json QUERY
commands from json
-x REGEXP, --exclude REGEXP
exclude file regex
examples
restart node lib
(web server) when a file in lib directory exclude static is written
% aurel -w lib -c 'node lib' -k -x 'static'
run build:sass rule of npm-script when a file in sass directory is written
% aurel -w sass -j 'package.json:scripts.build:sass'