Closed
Description
What problem does this feature solve?
In non-SPA setups, the server may be operating on localhost:8080
and serving assets from there, but the site is being viewed on a separate domain my-php-site.test
. In order for HMR to work correctly we enabled things like headers: { 'Access-Control-Allow-Origin': '*' }
& set our baseUrl as
baseUrl: process.env.NODE_ENV === 'production'
? '/'
: 'http://localhost:8080/',
This works great, except the dev will receive this message running serve
:
App running at:
- Local: http://localhost:8080/http://localhost:8080/
- Network: http://10.0.1.12:8080/http://localhost:8080/
What does the proposed API look like?
Potentially, if a serveMessage
is provided, it will override any console messages.
Metadata
Metadata
Assignees
Labels
No labels