Skip to content

Commit 7fc2a53

Browse files
authored
Fix BSP reimport issue (com-lihaoyi#4639)
Fixes com-lihaoyi#4641, tho I'm not 100% sure if this is the right thing to do.
1 parent 0ca2856 commit 7fc2a53

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

runner/src/mill/runner/MillMain.scala

+6-6
Original file line numberDiff line numberDiff line change
@@ -313,13 +313,13 @@ object MillMain {
313313
}
314314

315315
loopRes = (isSuccess, evalStateOpt)
316-
} // while repeatForBsp
317-
bspContext.foreach { ctx =>
318-
streams.err.println(
319-
s"Exiting BSP runner loop. Stopping BSP server. Last result: ${BspContext.bspServerHandle.lastResult}"
320-
)
321-
BspContext.bspServerHandle.stop()
322316
}
317+
} // while repeatForBsp
318+
bspContext.foreach { ctx =>
319+
streams.err.println(
320+
s"Exiting BSP runner loop. Stopping BSP server. Last result: ${BspContext.bspServerHandle.lastResult}"
321+
)
322+
BspContext.bspServerHandle.stop()
323323
}
324324

325325
// return with evaluation result

0 commit comments

Comments
 (0)