New --restart and --dontwait options
The --restart
option restarts the command when changes happens on the file system. The --dontwait
starts the command when filewatcher is started. To start a webserver and have it automatically restart when html files are updated:
$ filewatcher --dontwait --restart "*.html" "python -m SimpleHTTPServer"