commercialhaskell / commercialhaskell/stack

Allow --file-watch to apply to custom files or add --file-watch-extra-files

Open
#5,190 0 comments 3 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.