-
-
Notifications
You must be signed in to change notification settings - Fork 370
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
Cabal cradle rebuilds hls everytime #139
Comments
is the cabal To check if it is cabal itself we could reproduce the internal call of |
The multi component
This is not the behavior I have. |
Opening the same file always results in a rebuild, where as only the first invocation of |
This comment has been minimized.
This comment has been minimized.
To clarify, tebuilds only occur when I fully exit and reopen my editor, opening and closing files doesn't trigger a rebuild. |
Sorry, i misinterpreted the "open your editor" part 😔 |
No worries, I think the person in linked issue was observing the behavior upon open files, not just opening the editor. |
Ok, this time: remove
So it is not being rebuilt for me |
@Avi-D-coder Mmm, take alook to the times for the files than trigger the rebuild in your log:
I suppose the time of the files is the last modification, if it is so, they were modified in the future! |
"Making new HscEnv[haskell-language-server-0.1.0.0-inplace]"
(([],Just HscEnvEq 3),fromList [("cabal.project",Just 2020-05-28 06:19:54.95314972 UTC),("cabal.project.local",Nothing),("haskell-language-server.cabal",Just 2020-05-28 06:19:54.966483052 UTC)])
2020-05-29 15:15:08.990585263 [ThreadId 3023] - finish: InitialLoad (took 1.00s)
2020-05-29 15:1 No such luck. |
Same behavior in vscode |
|
Upstream issue is closed by haskell/hie-bios#264 and hie-bios uses an alternative builddir for cabal. |
* Add find definition tests * Add tests for hovers
There is a bug related with |
#1197 will still rebuild the project everytime, but at least it won't interfere with |
@fendor why will it rebuild each time? if the hie-bios calls to cabal repl uses always the same, specific, buildir, it should reuse the build products previously generated, no? The rebuild was riggered by the fact the regular |
The version of hie-bios with a isolate build dir will be 0.7.3, issue: haskell/hie-bios#280 |
@jneira Sorry, don't know why I didn't see your response. Indeed, once the next release is made, there should be only minimal rebuilding |
This should be resolved in master and the incoming 1.0.0 release by the inclusion of a newer hie-bios version that sets a isolate build dir for cabal: haskell/hie-bios#264 |
Does anyone else observe cabal cradle's load triggering a recompile each time you open your editor?
Log
The text was updated successfully, but these errors were encountered: