diff --git a/src/extension.ts b/src/extension.ts index 408aaf6..3327fe1 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -320,7 +320,8 @@ class ODBinaryDistribution implements OpenDreamInstallation { let compileProcess = spawn(compilerPath, [dme], { cwd: workspaceFolder.path }); compileProcess.on('close', (code) => { - closeEmitter.fire(code || 1); + console.log(`Compiler process exited with code ${code}`); + closeEmitter.fire(code === null ? 1 : code); }); compileProcess.on('error', (err) => {