-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Preprocessed Files Don't Rebuild #1891
Comments
Are those files listed in |
Yes they are. If it helps in my scenario I'm only building executables (no library). As I found out |
I believe I'm having a similar issue: a source file is listed in Unexpectedly, whenever I modify the source file, no rebuild is triggered: not when using |
commercialhaskell#2040). This is necessary for packages that use a custom Setup.hs (`build-type: Custom`). Previously, stack wouldn't rebuild the package if the only changes were to the `extra-source-files`. Stack was already marking the package as dirty if `data-files` changed; this just hooks `extra-source-files` into the same mechanism.
commercialhaskell#2040). This is necessary for packages that use a custom Setup.hs (`build-type: Custom`). Previously, stack wouldn't rebuild the package if the only changes were to the `extra-source-files`. Stack was already marking the package as dirty if `data-files` changed; this just hooks `extra-source-files` into the same mechanism.
I think this is resolved by the merge of #2362. Please re-open if not. |
I have a custom preprocessor that converts files in my
src
directory to Haskell files. However when any of those originals changestack build
doesn't appear to reprocess. If I dostack clean
first that works.The text was updated successfully, but these errors were encountered: