Added watchKey.reset().

This commit is contained in:
JesseBrault0709 2023-01-10 09:51:43 -06:00
parent 3dbf36832e
commit 47947a90b9

View File

@ -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