summary refs log tree commit diff stats
path: root/compiler/service.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/service.nim')
-rw-r--r--compiler/service.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/service.nim b/compiler/service.nim
index 6a0cfd292..8e8fe20bf 100644
--- a/compiler/service.nim
+++ b/compiler/service.nim
@@ -67,7 +67,8 @@ proc serve*(action: proc (){.nimcall.}) =
     action()
     gDirtyBufferIdx = 0
     gDirtyOriginalIdx = 0
-    
+    gErrorCounter = 0
+
   let typ = getConfigVar("server.type")
   case typ
   of "stdin":