The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
#!/bin/sh | |
############ | |
# Usage | |
# Pass a path to watch, a file filter, and a command to run when those files are updated | |
# | |
# Example: | |
# watch.sh "node_modules/everest-*/src/templates" "*.handlebars" "ynpm compile-templates" | |
############ |