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

Block style updates are not streamed during workflow #34

Open
cr0ybot opened this issue Oct 27, 2022 · 0 comments
Open

Block style updates are not streamed during workflow #34

cr0ybot opened this issue Oct 27, 2022 · 0 comments

Comments

@cr0ybot
Copy link
Owner

cr0ybot commented Oct 27, 2022

Any edits to block files runs the entire blocks task, which updates everything and causes a full browser refresh via Browsersync.

Is it possible to limit file updating (ie css-only, or js-only) so that style updates will be streamed instead?

Initially, gulp-wp attempted to handle file dependencies to only update the entrypoint that is affected. The system was eventually scrapped since it wasn't worth the amount of bugs it introduced. It might be ok to ignore outputting specific block files if they haven't been updated though...?

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