diff options
Diffstat (limited to 'compiler/service.nim')
-rw-r--r-- | compiler/service.nim | 3 |
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": |