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.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/service.nim b/compiler/service.nim
index 23a9bda66..b1741b7bd 100644
--- a/compiler/service.nim
+++ b/compiler/service.nim
@@ -62,6 +62,7 @@ proc serve*(action: proc (){.nimcall.}) =
   server.bindAddr(port, getConfigVar("server.address"))
   var inp = "".TaintedString
   server.listen()
+  new(stdoutSocket)
   while true:
     accept(server, stdoutSocket)
     discard stdoutSocket.recvLine(inp)