Added watchKey.reset().
This commit is contained in:
parent
3dbf36832e
commit
47947a90b9
@ -192,6 +192,7 @@ class StaticSiteGeneratorCli implements Callable<Integer> {
|
|||||||
watchKey.pollEvents().each {
|
watchKey.pollEvents().each {
|
||||||
logger.debug('watchEvent: {}', it)
|
logger.debug('watchEvent: {}', it)
|
||||||
}
|
}
|
||||||
|
watchKey.reset()
|
||||||
}
|
}
|
||||||
|
|
||||||
//noinspection GroovyUnreachableStatement
|
//noinspection GroovyUnreachableStatement
|
||||||
|
Loading…
Reference in New Issue
Block a user