why not immediately throw error about port already in use
flameleo11p opened this issue · 1 comments
flameleo11p commented
// run ./server.js twice then ....
var Seneca = require('seneca')
Seneca()
.quiet() // only log errors
.use(approver)
.listen({type: 'tcp', port: 8260, pin: 'cmd:*'})
Error: listen EADDRINUSE: address already in use 0.0.0.0:8260
rjrodger commented
A bug - thanks!
.quiet is hiding the error log
also port conflicts should be fatal errors