file-embed icon indicating copy to clipboard operation
file-embed copied to clipboard

Document that file paths need to be added to extra-source-files list to get recompilation detection in cabal projects

Open jberryman opened this issue 3 years ago • 1 comments

I opened a PR but github ate it and my tabs are gone, sorry

jberryman avatar Mar 31 '22 14:03 jberryman

When using e.g. embedDir, at least for Stack-3.3.1, I found that adding new files to extra-source-files was not sufficient to trigger a recompilation that would than embed the added files.

I reported this upstream to Stack:

  • https://github.com/commercialhaskell/stack/issues/6689

andreasabel avatar Feb 21 '25 09:02 andreasabel