Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 327 Bytes

File metadata and controls

18 lines (15 loc) · 327 Bytes

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)