mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
oops, fix inotify dependency check
This commit is contained in:
parent
7f55485e62
commit
aa514ebae9
8
moonc
8
moonc
@ -249,13 +249,11 @@ function create_watcher(files)
|
||||
local msg = "Starting watch loop, Ctrl-C to exit"
|
||||
|
||||
local inotify
|
||||
if not pcall(function()
|
||||
pcall(function()
|
||||
inotify = require "inotify"
|
||||
end) then
|
||||
print_help("inotify not installed")
|
||||
end
|
||||
end)
|
||||
|
||||
if false and inotify then
|
||||
if inotify then
|
||||
local dirs = {}
|
||||
for _, fname in ipairs(files) do
|
||||
table.insert(dirs, get_dir(fname))
|
||||
|
Loading…
Reference in New Issue
Block a user