-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Because the port used by the WebSocket server is hard-coded, there's currently no way to concurrently run dev for two Remix apps at once.
remix/packages/remix-dev/cli/commands.ts
Line 52 in c1821e4
let wss = new WebSocket.Server({ port: 3001 }); |
The run
and watch
commands would need to be updated to accept an alternative argument to set the WebSocket's server port. It would be nice if we could also pass these as command line arguments as needed.
# easily override either the port passed to @remix-run/serve or the watch command
# bikeshed the APIs, obviously!
$ remix run --port 3030 --socket-port 3002
Thoughts?
mcansh, airjp73, f15u and intcreator
Metadata
Metadata
Assignees
Labels
No labels