commercialhaskell / commercialhaskell/stack

Stack does not file-watch dependencies anymore

Open
#5,428 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

### Steps to reproduce

Make a project with two packages: `a` and `b` where `b` is a dependency of `a`.
Start `stack install --file-watch a`.
Make a change in `b`.

This is also broken for intra-package dependencies.
For example when the executable of package `a` depends on the library of package `a`.

### Expected

A rebuild

### Actual

No rebuild

### Stack version

```
stack --version
2.5.1 x86_64 hpack-0.34.2
```

### Method of installation

* nixpkgs

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.