1 2 3 4 5 6
#!/bin/sh until inotifywait -e modify compiler.lua testc.lua; do date '+%s' lua testc.lua done