johnae / spook

Lightweight programmable evented utility based on LuaJIT and ljsyscall
Other
35 stars 0 forks source link

Add ignore option to watch #52

Closed johnae closed 5 years ago

johnae commented 5 years ago

This allows ignoring certain file name patterns in the watch function, like:

watch ".", ignore: {'%.git$', '%.direnv$'}, -> 
  on_changed ... etc