An open API service indexing awesome lists of open source software.

https://github.com/evandrolg/lua-watcher

:eyes: A Lua module to monitor files from a specific directory
https://github.com/evandrolg/lua-watcher

lua monitor-files watcher

Last synced: 6 months ago
JSON representation

:eyes: A Lua module to monitor files from a specific directory

Awesome Lists containing this project

README

          

# lua-watcher
A Lua module to monitor files from a specific directory

# Installation
To install lua-watcher, run:
```sh
$ luarocks install watcher
```

## How does it work?
Follow an example:
```lua
local watcher = require 'watcher'

watcher('my_directory/', function()
print('Some file was modified now!')
end)
```