-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't restart for removed or renamed modules (#290)
Ghcid crashes when modules are removed/renamed because all it can do to the underlying GHCi session is `:reload`, and [a GHCi bug][1] means that the GHCi session will crash when this happens. Because ghciwatch tracks which files/modules are loaded in the session, it can accurately `:unadd` files from the session when they're removed on disk, without requiring the session be restared. This should speed up development. [1]: https://gitlab.haskell.org/ghc/ghc/-/issues/11596 I'm going to cut 1.0 with this while we're at it. - [x] Labeled the PR with `patch`, `minor`, or `major` to request a version bump when it's merged. - [x] Updated the user manual in `docs/`. - [x] Added integration / regression tests in `tests/`.
- Loading branch information
Showing
15 changed files
with
265 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.