Skip to content

Exclude files from --file-watch and more debugging info #703

@agrafix

Description

@agrafix

I'm currently moving a project to stack, and it's been working out great so far! I like the --file-watch flag, but it seems to rebuild way to often. I think this is due to my emacs configuration which creates temporary files in the source tree. Would it be possible to read .hgignore or .gitignore files to exclude files from being watched? For debugging purposes, it would also be very useful if stack build --file-watch gave some information why it thinks a rebuild is useful, eg:

Rebuilding due to changes in files X.hs, Z.hs, ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions