I’d need this feature too in order to work of two versions on the same site in parallel.
--port flag is not “transferred” from yarn to browsersync. For example:
$ yarn run start --port 3002
yarn run v0.21.3
$ webpack --hide-modules --watch --config assets/build/webpack.config.js
Webpack is watching the files…
throw er; // Unhandled 'error' event
Error: listen EADDRINUSE :::3000
Found this PR that allows to use a different proxied URL from the CLI: https://github.com/roots/sage/pull/1849. Might help to find a solution to this problem?
With Sage 8, when starting a new server, it automatically chose a new port if default ones are already being used: localhost:3000 --> localhost:3002 --> … Any idea how to get this behavior back? Any Webpack expert around? EDIT: seems to work only if launching multiple servers in the same folder…