Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Drop chokidar #364

@Rich-Harris

Description

@Rich-Harris

See #363.

I had resigned myself to keeping chokidar, even though it accounts for most of Sapper's size, on the basis that since webpack also uses it, any user of Sapper is going to have to install it anyway.

But that's not entirely accurate. webpack is a dev dependency, whereas Sapper is a main dependency. That means that if Sapper dropped chokidar, a production Sapper app wouldn't depend on it. That would be great in e.g. serverless environments.

So maybe we should try cheap-watch instead after all? All we're doing is seeing if files get added/removed in routes in dev mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions