Commit 25f5d93
committed
Display a warning when dune builds via RPC
When an instance of dune is already running, invoking `dune build` will
still build the target, howwever other command line arguments are
silently ignored by dune as the current RPC interface is too limited to
express them. This may change over time, but currently it's unusual UX
for `dune build` to behave differently depending on whether or not
another instance of `dune build` is already running. To more accurately
set user expectations, print a warning when dune is running with this
reduced functionality.
Signed-off-by: Stephen Sherratt <[email protected]>1 parent f3e6325 commit 25f5d93
2 files changed
Lines changed: 18 additions & 0 deletions
File tree
- bin
- test/blackbox-tests/test-cases/watching
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
218 | 228 | | |
219 | 229 | | |
220 | 230 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
29 | 37 | | |
30 | 38 | | |
31 | 39 | | |
| |||
0 commit comments