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

Incremental development workflow #12

Open
zeronone opened this issue Jul 4, 2018 · 0 comments
Open

Incremental development workflow #12

zeronone opened this issue Jul 4, 2018 · 0 comments

Comments

@zeronone
Copy link

zeronone commented Jul 4, 2018

In my setup: when using make test-ghci module reloading (:r) doesn't necessarily reload the source files under the /src directory. It seems like it only considers the /test directory as interpreted. So if I change a code in src/Course/Functor.hs and run :r in the test ghci session, it doesn't reload the newly modified Functor.hs file.

However, running the following command works as expected.

$ stack exec ghci -- -isrc -itest test/Spec.hs
λ: :main --match=Course.Functor/
λ: -- modify src/Course/Functor.hs
λ: :r
λ: :main --match=Course.Functor/
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