A Lua module to monitor files from a specific directory
To install lua-watcher, run:
$ luarocks install watcher
Follow an example:
local watcher = require 'watcher'
watcher('my_directory/', function()
print('Some file was modified now!')
end)