Skip to content

How to autorun "ng lint" whenever a file is changed? #3437

@thardy-pd

Description

@thardy-pd

I can't seem to figure out how to cause ng serve to autorun "ng lint" whenever a js file is changed. Leaving it out of the watch functionality is basically advocating not linting at all, and I refuse to believe the angular-cli team would think so poorly of linting js source code. Please tell me I'm just missing a simple configuration somewhere!

The ability to hook whatever I want to execute when a file of a configured type is changed would be even better. I can wait on a flexible solution, but the lack of linting is downright painful for a javascript development organization.

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