Skip to content

Commit d771611

Browse files
committed
add comment for #474
1 parent 4603314 commit d771611

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

runner/engine.go

+2
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ func (e *Engine) start() {
329329
}
330330
}
331331

332+
// cannot set buldDelay to 0, because when the write mutiple events received in short time
333+
// it will start Multiple buildRuns: https://github.com/cosmtrek/air/issues/473
332334
time.Sleep(e.config.buildDelay())
333335
e.flushEvents()
334336

0 commit comments

Comments
 (0)