mirror of
https://github.com/ilyakooo0/intellij-haskell.git
synced 2024-09-11 14:56:19 +03:00
Do not start installing Haskell tools when it's already busy.
This commit is contained in:
parent
f0ea9d4ece
commit
dcd81cd3c3
@ -149,7 +149,9 @@ object StackProjectManager {
|
||||
HaskellNotificationGroup.logInfoEvent(project, "Initializing Haskell project")
|
||||
}
|
||||
|
||||
installHaskellTools(project, update = false)
|
||||
if (getStackProjectManager(project).exists(_.installingHaskellTools == false)) {
|
||||
installHaskellTools(project, update = false)
|
||||
}
|
||||
|
||||
ProgressManager.getInstance().run(new Task.Backgroundable(project, "Building project, starting REPL(s) and preloading cache", false, PerformInBackgroundOption.ALWAYS_BACKGROUND) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user