-
Notifications
You must be signed in to change notification settings - Fork 843
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
Equivalent of Cabal's preRepl
, replHook
, postRepl
hooks for stack ghci
#4315
Comments
preRepl
hook is not runjpreRepl
hook is not run
|
Hello @deech. |
I changed it to |
Hmm, that worked for me. I say worked, I got errors from the custom setup file. Did you run with If that didn't work, please post your stack.yaml and the output of |
Yes I got errors as well due to unimported modules and I fixed it:
But I'm still not seeing "here!!!" outputted to the console as I expect. |
Hmm. Post the stack.yaml and the verbose output and I'll take a look tomorrow. |
stack.yaml:
Output of
|
Yep,
|
Is there any way to perform some action before repl runs? In my case I'd like to set |
What's the actual code you wanted to run in the |
preRepl
hook is not runpreRepl
, replHook
, postRepl
hooks for stack ghci
Steps to reproduce
stack new Foo
.Setup.hs
:stack repl
Expected
"here!!!" on the console.
Actual
ghci
loads but there is no output.Stack version
Method of installation
The text was updated successfully, but these errors were encountered: