diff options
Diffstat (limited to 'compiler/service.nim')
-rw-r--r-- | compiler/service.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/service.nim b/compiler/service.nim index b3c7fbc83..6a0cfd292 100644 --- a/compiler/service.nim +++ b/compiler/service.nim @@ -65,7 +65,9 @@ proc serve*(action: proc (){.nimcall.}) = curCaasCmd = cmd processCmdLine(passCmd2, cmd) action() - + gDirtyBufferIdx = 0 + gDirtyOriginalIdx = 0 + let typ = getConfigVar("server.type") case typ of "stdin": |