Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unfortunate interaction with ghcid #43

Open
mwotton opened this issue May 18, 2023 · 0 comments
Open

unfortunate interaction with ghcid #43

mwotton opened this issue May 18, 2023 · 0 comments

Comments

@mwotton
Copy link

mwotton commented May 18, 2023

When I run with ghcid -T :main -c "cabal repl tests" and add or remove a test in a module used by the generated tasty-discover test module, ghcid doesn't get a trigger to actually reload the top level module, so new tests don't get run, and removed (or renamed) tests get an error that the previous name was not found. I recognise this isn't really tasty-discover's fault, it's a knock-on effect of the way ghcid loads files, but is there a workaround? I tried the --in-place` option, but it just sends ghcid into a reload loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant