2
0
Эх сурвалжийг харах

only cache context when using compilation server

Rudy Ges 1 жил өмнө
parent
commit
9eeb5cf1ba

+ 1 - 1
src/compiler/server.ml

@@ -590,7 +590,7 @@ let after_target_init sctx ctx =
 		()
 
 let after_save sctx ctx =
-	if not (has_error ctx) then
+	if ctx.comm.is_server && not (has_error ctx) then
 		maybe_cache_context sctx ctx.com
 
 let after_compilation sctx ctx =