I am trying to use inotifywait to watch all .js files under my ~/js directory; how do I format my regex inside the follow
inotifywait
~/js
As of version 3.20.1, inotifywait does include the --include and --includei options.
--include
--includei
To see them, run inotifywait --help. For some reason, they aren't documented in the manpages.
inotifywait --help