This commit is contained in:
leaf corcoran 2016-04-13 19:49:16 -07:00
parent 1a776e30e0
commit e251fa4a02
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ class InotifyWacher extends Watcher
fname = dir .. fname if dir != "./"
-- TODO: check to make sure the file was in the original set
coroutine.yield(fname)
coroutine.yield fname
class SleepWatcher extends Watcher

View File

@ -65,7 +65,7 @@ describe "moonc", ->
describe "watcher", ->
describe "inotify watcher", ->
it "gets dirs", ->
import InotifyWacher from require "moonscript.cmd.watcher"
import InotifyWacher from require "moonscript.cmd.watchers"
watcher = InotifyWacher {
{"hello.moon", "hello.lua"}
{"cool/no.moon", "cool/no.lua"}