Skip to content

Adjust messaging of dev server #118

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

Open
kadamwhite opened this issue Sep 4, 2020 · 0 comments
Open

Adjust messaging of dev server #118

kadamwhite opened this issue Sep 4, 2020 · 0 comments
Milestone

Comments

@kadamwhite
Copy link
Contributor

The dev server default output, upon starting up, indicates that a server is running on localhost at a specific port. Because this server is meant to run alongside a separate WordPress install (usually either Vagrant with Chassis or Docker with Altis Local Server), this can be confusing because it seems to imply your site could be accessible from the Webpack server, when Webpack is solely responsible for providing the built bundled files.

Sample output:

> webpack-dev-server --config .config/webpack.config.dev.js

ℹ 「wds」: Project is running at https://localhost:9090/
ℹ 「wds」: webpack output is served from https://localhost:9090/content/mu-plugins/my-plugin/build/
ℹ 「wds」: Content not from webpack is served from /hm/projects/my-project

It would be good to see if we can add a logging message indicating that the main site should still be accessed via the underlying WP dev environment hostname.

@kadamwhite kadamwhite added this to the 1.0 milestone Jun 17, 2022
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