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

Implement hot module reloading / React Fast Refresh #406

Open
pierre-dekode opened this issue Oct 3, 2022 · 0 comments
Open

Implement hot module reloading / React Fast Refresh #406

pierre-dekode opened this issue Oct 3, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@pierre-dekode
Copy link

It seems that this is available in wp-scripts (see WordPress/gutenberg#28273) but it's not working with the Project Base current webpack config:

npm run start:hot

> start:hot
> wp-scripts start --hot

<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:8887/, http://[::1]:8887/
<i> [webpack-dev-server] Content not from webpack is served from '/Users/pskli/Sites/avigo/app/public' directory
[webpack-cli] Error: Unique ports must be specified for each devServer option in your webpack configuration. Alternatively, run only 1 devServer config using the --config-name flag to specify your desired config.

It would be useful to be able to work on custom Gutenberg blocks without having a full page refresh — with code being injected into the open page instead.

@pierre-dekode pierre-dekode added the enhancement New feature or request label Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant