mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
misc
This commit is contained in:
parent
1a776e30e0
commit
e251fa4a02
@ -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
|
||||
|
||||
|
@ -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"}
|
||||
|
Loading…
Reference in New Issue
Block a user