Skip to content

Option to treat CSS files like all other files #185

Open
@kylecordes

Description

@kylecordes

Currently, live-server has a hardcoded mechanism to reload CSS files differently. This is great for many uses, many static and mostly static websites, it saves a full reload.

However, it is broken for certain other cases. For example I am working with a Angular application using in browser tooling, and need to reload the entire page when a CSS file changes: most of my CSS files belong to an Angular component, not to the page overall.

It would be most ideal to have a switch to turn this special CSS handling off. The switch doesn't need to know anything about Angular or any other particular use case.

I could probably implement such a thing, but would love to get a green light that such a PR is likely to be accepted before doing so.

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