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
- Host: GitHub
- URL: https://github.com/evandrolg/lua-watcher
- Owner: EvandroLG
- Created: 2016-01-19T13:50:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-02T11:33:41.000Z (over 9 years ago)
- Last Synced: 2025-04-13T20:15:34.113Z (6 months ago)
- Topics: lua, monitor-files, watcher
- Language: Lua
- Homepage:
- Size: 5.86 KB
- Stars: 22
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)
```