-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
I'm having trouble getting the hot reload to work with the Go API. I ran the steps below:
https://github.com/McMenemy/GoDoRP#getting-started
After running docker-compose up I went to http://localhost:5000/ and saw the This is the RESTful api message. If I change that in the api.go file to anything else I don't see the change unless I rebuild the docker image (docker-compose build).
I can confirm from the output the api server is running in dev mode:
api_1 | 1:19:07 runner | InitFolders
api_1 | 1:19:07 runner | mkdir ./tmp
api_1 | 1:19:07 runner | mkdir ./tmp: file exists
api_1 | 1:19:07 watcher | Watching .
api_1 | 1:19:07 watcher | Watching vendor
api_1 | 1:19:07 watcher | Watching vendor/database
api_1 | 1:19:07 main | Waiting (loop 1)...
api_1 | 1:19:07 main | receiving first event /
api_1 | 1:19:07 main | sleeping for 600 milliseconds
api_1 | 1:19:07 main | flushing events
api_1 | 1:19:07 main | Started! (11 Goroutines)
api_1 | 1:19:07 main | remove tmp/runner-build-errors.log: no such file or directory
api_1 | 1:19:07 build | Building...
api_1 | 1:19:08 runner | Running...
api_1 | 1:19:08 main | --------------------
api_1 | 1:19:08 main | Waiting (loop 2)...
api_1 | 1:19:13 app | 2018/01/05 01:19:13 connected to DB
api_1 | 2018/01/05 01:19:13 Running api server in dev mode
Am I doing something wrong?
Metadata
Metadata
Assignees
Labels
No labels