diff --git a/src/js/watch.nim b/src/js/watch.nim index e278529..8576341 100644 --- a/src/js/watch.nim +++ b/src/js/watch.nim @@ -40,7 +40,7 @@ proc compileEcho(p: Process) {.thread.} = let exitStatus = p.peekExitCode() case exitStatus: - of 0: timedEcho("Compilation Succeded", Success) + of QuitSuccess: timedEcho("Compilation Succeded", Success) else: timedEcho("COMPILATION ERRORED!!", Error) p.close()