iegik
3/30/2016 - 8:09 AM

Example of watching file and executing command on modify event

Example of watching file and executing command on modify event

#!/bin/bash
while inotifywait -e modify application/views/html/**/*; do make templates; done