Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spike watch: port ignored #102

Open
psla opened this issue Nov 20, 2022 · 0 comments
Open

spike watch: port ignored #102

psla opened this issue Nov 20, 2022 · 0 comments

Comments

@psla
Copy link

psla commented Nov 20, 2022

I am trying to start spike watch on a different port. I tried -p, --port, as per manual, unfortunately, the port setting is ignored.

~/git/test/test$ spike watch -p 3003
compiled (0.496s)
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE: address already in use :::3001
    at Server.setupListenHandle [as _listen2] (node:net:1469:16)
    at listenInCluster (node:net:1517:12)
    at Server.listen (node:net:1605:7)
    at Object.startServer [as fn] (/home/piotr/git/test/test/node_modules/browser-sync-ui/lib/async.js:123:39)
    at /home/piotr/git/test/test/node_modules/browser-sync-ui/lib/UI.js:184:14
    at iterate (/home/piotr/git/test/test/node_modules/async-each-series/index.js:8:5)
    at /home/piotr/git/test/test/node_modules/async-each-series/index.js:16:16
    at /home/piotr/git/test/test/node_modules/browser-sync-ui/lib/UI.js:192:13
    at Object.setUrlOptions [as fn] (/home/piotr/git/test/test/node_modules/browser-sync-ui/lib/async.js:76:9)
    at /home/piotr/git/test/test/node_modules/browser-sync-ui/lib/UI.js:184:14
Emitted 'error' event on Server instance at:
    at emitErrorNT (node:net:1496:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'EADDRINUSE',
  errno: -98,
  syscall: 'listen',
  address: '::',
  port: 3001
}
  • Expected behavior: spike watch starts on port 3003
  • Actual behavior: spike watch starts on port 3001.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant