Skip to content

Instantly share code, notes, and snippets.

@xcodebuild
Created August 18, 2015 09:01
Show Gist options
  • Select an option

  • Save xcodebuild/8b75e049206c4db4c1a3 to your computer and use it in GitHub Desktop.

Select an option

Save xcodebuild/8b75e049206c4db4c1a3 to your computer and use it in GitHub Desktop.
Makefile watch for file
watch:
while true; do \
<what you want to do> \
inotifywait -qre close_write .; \
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment