commercialhaskell / commercialhaskell/stack
Allow --file-watch to apply to custom files or add --file-watch-extra-files
Open
type: enhancement
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
Motivation: Reload on config file change when config file is in .gitignore
I have a config file called settings.env so I envision:
```
stack build --file-watch --file-watch-extra-files="settings.env,settings2.env"
```
I don't really care how it's implemented though and the above looks ugly TBH. I feel like others frequently encounter the pattern of "settings file in VCS ignore but I'd like to recompile when it changes".
Contributor guide
Assessment
This issue has not been assessed yet.