Skip to content

Instantly share code, notes, and snippets.

@nushio3
Created February 1, 2017 03:29
Show Gist options
  • Save nushio3/4b50293de37086db8c87bd43946ab04f to your computer and use it in GitHub Desktop.
Save nushio3/4b50293de37086db8c87bd43946ab04f to your computer and use it in GitHub Desktop.
#!/bin/sh
while :
do
$1
inotifywait -q -e modify --exclude '~$' -r ./src/ -r ./tests/
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment