godev
godev copied to clipboard
Not killing process
service.exe is not being killed therefore I am getting Only one usage of each socket address (protocol/network address/port) is normally permitted
godev --ignore "docs,service.exe,service.exe~" --exec "swag init" --exec "go build -o service.exe main.go route.go" --exec "service.exe" --ar
gs "--server_address 127.0.0.1:8081"
[[32m|Jun04/01:30| [main] godev has started
[0m[[32m|Jun04/01:30| [main] working dir : 'E:\coinread\coinread-api'
[0m[[32m|Jun04/01:30| [main] watching dir: 'E:\coinread\coinread-api'
[0m[[32m|Jun04/01:30| [command/swag] 'init'
► ─────────────────────────────────────────── pid:25316 id:bee3d3 ►
[0m2019/06/04 01:30:18 Generate swagger docs....
2019/06/04 01:30:18 Generate general API Info
2019/06/04 01:30:18 Generating common.HTTPError
2019/06/04 01:30:18 Generating models.Portfolio
2019/06/04 01:30:18 Generating models.PortfolioSymbols
2019/06/04 01:30:18 Generating models.PortfolioSymbol
2019/06/04 01:30:18 Generating models.PortfolioTransactions
2019/06/04 01:30:18 Generating models.PortfolioTransaction
2019/06/04 01:30:18 Generating models.MarketSymbol
2019/06/04 01:30:18 Generating models.Tickers
2019/06/04 01:30:18 Generating models.Ticker
2019/06/04 01:30:18 Generating models.TickerHyperlink
2019/06/04 01:30:18 create docs.go at docs/docs.go
2019/06/04 01:30:18 create swagger.json at docs/swagger.json
2019/06/04 01:30:18 create swagger.yaml at docs/swagger.yaml
[[32m|Jun04/01:30| [command/swag]
■ ─────────────────────────────────────────── pid:25316 id:bee3d3 ■
[0m[[32m|Jun04/01:30| [command/go] 'build', '-o', 'service.exe', 'main.go', 'route.go'
► ─────────────────────────────────────────── pid:30840 id:93427a ►
[0m[[32m|Jun04/01:30| [command/go]
■ ─────────────────────────────────────────── pid:30840 id:93427a ■
[0m[[32m|Jun04/01:30| [command/service.exe] '--server_address', '127.0.0.1:8081'
► ─────────────────────────────────────────── pid:31408 id:44b5b0 ►
[0m2019/06/04 01:30:22 Using high precision timer
time="2019-06-04T01:30:22+06:00" level=info msg="loading config: config.yaml"
time="2019-06-04T01:30:22+06:00" level=info msg="Listening on 127.0.0.1:8081\n" caller="service.go:192"
|Jun04/01:30| [runner] terminating pipeline 1...
|Jun04/01:30| [runner] terminated pipeline 1
|Jun04/01:30| [command/service.exe] not supported by windows
|Jun04/01:30| [command/service.exe]
■ ─────────────────────────────────────────── pid:31408 id:44b5b0 ■
|Jun04/01:30| [run/1/3/3]] command[44b5b0] exited with: interrupt
|Jun04/01:30| [command/swag] 'init'
► ─────────────────────────────────────────── pid:17164 id:bee3d3 ►
2019/06/04 01:30:28 Generate swagger docs....
2019/06/04 01:30:28 Generate general API Info
2019/06/04 01:30:28 Generating common.HTTPError
2019/06/04 01:30:28 Generating models.Portfolio
2019/06/04 01:30:28 Generating models.PortfolioSymbols
2019/06/04 01:30:28 Generating models.PortfolioSymbol
2019/06/04 01:30:28 Generating models.PortfolioTransactions
2019/06/04 01:30:28 Generating models.PortfolioTransaction
2019/06/04 01:30:28 Generating models.MarketSymbol
2019/06/04 01:30:28 Generating models.Tickers
2019/06/04 01:30:28 Generating models.Ticker
2019/06/04 01:30:28 Generating models.TickerHyperlink
2019/06/04 01:30:28 create docs.go at docs/docs.go
2019/06/04 01:30:28 create swagger.json at docs/swagger.json
2019/06/04 01:30:28 create swagger.yaml at docs/swagger.yaml
|Jun04/01:30| [command/swag]
■ ─────────────────────────────────────────── pid:17164 id:bee3d3 ■
|Jun04/01:30| [command/go] 'build', '-o', 'service.exe', 'main.go', 'route.go'
► ─────────────────────────────────────────── pid:14816 id:93427a ►
|Jun04/01:30| [command/go]
■ ─────────────────────────────────────────── pid:14816 id:93427a ■
|Jun04/01:30| [command/service.exe] '--server_address', '127.0.0.1:8081'
► ─────────────────────────────────────────── pid:28700 id:44b5b0 ►
2019/06/04 01:30:33 Using high precision timer
time="2019-06-04T01:30:33+06:00" level=info msg="loading config: config.yaml"
time="2019-06-04T01:30:33+06:00" level=warning msg="listen tcp 127.0.0.1:8081: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted." caller="main.go:60"
|Jun04/01:30| [command/service.exe]
■ ─────────────────────────────────────────── pid:28700 id:44b5b0 ■