-
Notifications
You must be signed in to change notification settings - Fork 112
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
Reload very slow on project, instant in ghci #355
Comments
If you run |
it's also very slow for me. And I thought it might be faster if I set the polling to 1 ( The weird thing is that sometimes it works as intended and very quickly and then it can break on save and not work again after reloading. Could it be that newer GHC changed the output format of warning and errors? Altough the same project works great on linux, so maybe on mac the format is different? |
Im seeing also slower times from ghcid compared to Totally possible this has been the behavior in ghcid for a while, but wanted to throw that out there |
Changing the polling probably won't help, but it could make things worse, as if you don't pass that, it uses inotify which is very likely to be faster. I don't think the Mac format is different, but GHC does regularly tweak the format. If you pass |
I have an older project that I recently opened up to perform some updates. My new workflow includes ghcid, but reloads are too slow to be usable.
When I first run ghcid it compiles all the modules, as expected. However, when I save a file, ghcid takes about a minute to update. If I run the project in GHCI it reloads instantly.
Any idea what is going on?
Here is more info if it is helpful:
ghcid -v
during a quick sample session (loaded, changed a file, etc)The text was updated successfully, but these errors were encountered: