spago icon indicating copy to clipboard operation
spago copied to clipboard

`spago run --watch` recompiles but doesn't rerun

Open f-f opened this issue 5 years ago • 1 comments

It looks like this happens because Spago fires up a Nodejs process that might not terminate. When reloading the watcher the old process is left running and a new one is started.

We should instead keep track of the old ProcessHandle (see here for how to make one) and kill that in the watcher

f-f avatar Nov 25 '19 16:11 f-f

Yes, it is quite strange, watch but not re-run).

wclr avatar Dec 19 '20 06:12 wclr

We don't support watching in Spago anymore, see https://github.com/purescript/spago/issues/1029

f-f avatar Sep 29 '23 21:09 f-f