Skip to content

Package dirtiness checker ignores missing files #1841

@mgsloan

Description

@mgsloan

Reported by charles-cooper in #1838 (comment)

Another interesting thing I noticed is that running rm src/Data/Foo.hs in that project results in a stack running a rebuild .. and exiting successfully.

I had an inkling this was an issue with the dirty checker. Turns out that removing a file does not cause a package to be considered dirty. This likely eluded detection because usually when removing a module, you cause the cabal file to be dirty.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions