Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Make stack kill executed process when running `stack build --file-watch --exec "foo"` #1765
When I am programming a long running application (like a web api), I'd like to have a feature where the program that has been executed after building is killed when a source code change is found.
For example, I am building an api using Servant and I would like to run it like this:
Everytime I change one of my source files, it would be nice if
Something like that might be the domain of stack-run. That said, I wouldn't mind having something like
@dbaynard I haven't tried this, but it looks like it would solve the issue.
Recently, I've been using
$ ghcid --command 'stack ghci' --test 'defaultMain' --warnings
The argument to