Skip to content

Block style updates are not streamed during workflow #34

@cr0ybot

Description

@cr0ybot

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...?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions