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