Neil Mitchell

Results 1210 comments of Neil Mitchell

Great you got it working, and I agree this example would be good. But first, I'd like to understand the pieces in that example, and see what's required and what...

Ghcid detects what to monitor by watching lines go past in ghci, e.g. ``` C:\Neil\hlint>ghci GHCi, version 8.2.2: http://www.haskell.org/ghc/ :? for help [ 1 of 54] Compiling HSE.Type ( src\HSE\Type.hs,...

Yep, if there is a way at that repl to list the modules loaded that would be good - what does `:show modules` or similar give? But ultimately if ghci...

stack converts the package.yaml to .cabal when run, so the restart is really about causing stack to flip into action and do the conversion. If stack was watching and triggering...

Ghcid currently, and by design, considers messages it doesn't know to be just messages it doesn't need to care about. That's probably an unsafe default. What is also annoying is...

I'd like to first figure out what you want that can't already be done with what we've got. I created a file `ghcid-test.txt` with the contents: ``` --test="print 123" ```...

Thinking more, I am wondering if what you want is really something for ghcid at all, or if a general program for describing modes of a second program is what...

There are two immediate fixes that will help: * Create `foo.sh` containing the command line and pass that as `--command=foo.sh`. * Create a `.ghcid` and use `--command=...` on its own...

Any chance an open connection to the port on the read side keeps it alive? My standard approach is to use port 0 to allocate a free port and spawn...

On Windows you can see the open ports with: https://support.kaspersky.com/common/windows/101 The programs I had with launched on port 0 also used https://hackage.haskell.org/package/open-browser to spawn the web page. I wasn't doing...