mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
* make watcher work in console-interactive mode as well as without console
This commit is contained in:
parent
5abb244218
commit
e7e2b293d3
@ -19,4 +19,4 @@ watchman.commitDelay = 5 * 1000 // default = 5s
|
|||||||
watchman.commitPerFolder = true // default = true
|
watchman.commitPerFolder = true // default = true
|
||||||
|
|
||||||
println "Waiting for events"
|
println "Waiting for events"
|
||||||
console.readLine() // keep running and watch for changes
|
if (console) { console.readLine() } else { sleep(Long.MAX_VALUE) } // keep running and watch for changes
|
Loading…
Reference in New Issue
Block a user