You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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, ...
The text was updated successfully, but these errors were encountered:
All of the filewatch code is in its own module at Stack.FileWatch, and should be relatively easy to modify without diving into the rest of the code. In particular, indicating which files changed should be a trivial change. Interested in trying your hand at a PR for this?
I've pushed a commit to master that significantly improves this experience. I'm going to close this issue, please ping if master doesn't do what you're looking for.
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 ifstack build --file-watch
gave some information why it thinks a rebuild is useful, eg:Rebuilding due to changes in files X.hs, Z.hs, ...
The text was updated successfully, but these errors were encountered: