Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Provide fast refresh when developing for scripts in package plugin #582

Open
stevenslack opened this issue Feb 28, 2024 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@stevenslack
Copy link
Contributor

Description

I would like to be able to run dev mode in any of the alley-scripts/packages/* while also running dev mode in the alley-scripts/plugin so that I can work on the scripts without having to run npm run build and refresh the page in order to see the changes.

Documentation also needs to be provided in order to for developers to properly get set up to develop in the plugin accordingly.

Use Case

Example:
In the directory alley-scripts/packages/block-editor-tools run npm run dev in the command line to run Webpack development mode with the watch flag so that the files will recompile whenever they change. webpack --mode=development --watch.

Simultaneously in the alley-scripts/plugin directory I want to run npm run dev or npm run start while importing or linking with npm link the block-editor-tools to see my changes when the files change.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant