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...?
Any edits to block files runs the entire
blockstask, 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...?