If you use inotifywait a lot, I recommend trying http://entrproject.org/ which solves a lot of minor annoyances with inotifywait. It makes it easy to e.g. rebuild all web pages, restart your simplehttpserver and reload the current Firefox tab every time on of your `git ls-files` changes. The "restart server"-part can be fiddly with plain inotifywait, trivial with `entr -r`.