diff --git a/src/compiler.ts b/src/compiler.ts index 00a6a9d..976a5a2 100644 --- a/src/compiler.ts +++ b/src/compiler.ts @@ -153,6 +153,10 @@ export const compileFile = async (srcPath: string): Promise => { } let error = ''; + compiler.stdout.on('data', (data) => { + error += data; + }); + compiler.stderr.on('data', (data) => { error += data; });