Skip to content

Reloading in ghci fails to pick-up new files

If I start with a directory structure like this:

.
└── b
    └── B.hs

And start GHCi

ghci -i -i. -ib B
GHCi, version 8.10.2: https://www.haskell.org/ghc/  :? for help
[1 of 1] Compiling B                ( b/B.hs, interpreted )
Ok, one module loaded.

Then create a new file in the root,

.
├── b
│   └── B.hs
└── B.hs

Then reloading doesn't load the new file.

*B> :r
Ok, one module loaded.

Is this a bug or not? Either way, there's no test for this behavior as I disabled the feature on my branch and no relevant tests fail.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information