Skip to content

Watch partial files for changes #2

Closed
@alexlafroscia

Description

I'm not sure exactly how this would work, but it would be really nice to (somehow) inform Vite of the fact that the Handlebars partials are part of the "dependency graph" of the page being viewed in the browser.

Currently, it seems like the changes are processed immediately, but the browser doesn't actually refresh in real-time.

I'm not actually sure why the dev server picks up the changes to a partial without re-starting. Maybe Vite is monitoring the entire local directory? Or is just re-running the bundling step on every browser refresh? Not sure right now.


  • Automatically trigger browser refresh when a partial changes

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