diff --git a/src/tim.nim b/src/tim.nim index 6c1e310..3b5121d 100755 --- a/src/tim.nim +++ b/src/tim.nim @@ -146,7 +146,7 @@ proc precompile*(engine: TimEngine, callback: TimCallback = nil, engine.clearTemplateByPath(file.getPath()) var w = newWatchout(@[engine.getSourcePath() / "*"], onChange, - onFound, onDelete, recursive = true, ext = @["timl"]) + onFound, onDelete, recursive = true, ext = @["timl"], delay = 200) # start browser sync server in a separate thread createThread(sync, browserSync, (browserSyncPort, browserSyncDelay)) # start filesystem monitor in a separate thread