diff options
-rw-r--r-- | compiler/service.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/service.nim b/compiler/service.nim index e2de6e5a0..b3c7fbc83 100644 --- a/compiler/service.nim +++ b/compiler/service.nim @@ -73,6 +73,9 @@ proc serve*(action: proc (){.nimcall.}) = var line = stdin.readLine.string if line == "quit": quit() execute line + echo "" + FlushFile(stdout) + of "tcp", "": var server = Socket() let p = getConfigVar("server.port") |