fresh icon indicating copy to clipboard operation
fresh copied to clipboard

8 seconds to get reloaded~

Open lukedesu opened this issue 6 years ago • 0 comments

Looks like the building process take too lone time. Do you guy has any suggest to overcome it?

It just painful to wait 8 seconds for a change ~ I am using a gin for simple test now.

14:21:03 watcher     | sending event "./src/main.go": MODIFY|ATTRIB
14:21:03 main        | receiving first event "./src/main.go": MODIFY|ATTRIB
14:21:03 main        | sleeping for 600 milliseconds
14:21:03 watcher     | sending event "./src/main.go": MODIFY
14:21:03 main        | flushing events
14:21:03 main        | receiving event "./src/main.go": MODIFY
14:21:03 main        | Started! (23 Goroutines)
14:21:03 main        | remove tmp/runner-build-errors.log: no such file or directory
14:21:03 build       | Building...
14:21:11 runner      | Running...
14:21:11 runner      | Killing PID 200
14:21:11 main        | --------------------
14:21:11 main        | Waiting (loop 5)...
14:21:11 app         | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

14:21:11 app         | [GIN-debug] GET    /ping                     --> main.setupRouter.func1 (3 handlers)

lukedesu avatar Jul 16 '18 14:07 lukedesu