Unix (Linux / Mac OS X) monitor file change to concat or .. do something. (Bash shell script)
- watch
- find
- Debian / Ubuntu Linux: /usr/bin/watch
- Mac OS X: brew install watch
- cd example
- ./watch_linux.sh # ctrl-c stop
- open another window
- vim test.js # project name, modify util.js don't exec watch_linux.sh
- dist/test.min.js = utils.js + test.js
- cat dist/test.min.js # check