Skip to content

Bug: Hardcoded watch patterns in cli-utils #2747

@pavlo-liapin

Description

@pavlo-liapin

In https://github.com/ionic-team/ionic-cli/blob/master/packages/%40ionic/cli-utils/src/lib/ionic1/serve.ts#L135, it seems like it's impossible to overwrite several hardcoded patterns defined in the same file on line 15. Even after adding !www/**/* to project.watchPatterns, serve command is detecting changes in www directory. Shouldn't default patterns be used only in absence of project-specific ones, instead of conjunction?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions