aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Psc.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Psc.js')
-rw-r--r--src/Psc.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Psc.js b/src/Psc.js
index 8fe8437..4991d5f 100644
--- a/src/Psc.js
+++ b/src/Psc.js
@@ -33,8 +33,9 @@ function compile(psModule) {
33 33
34 const compilation = spawn(options.psc, args) 34 const compilation = spawn(options.psc, args)
35 35
36 compilation.stdout.on('data', data => stderr.push(data.toString())) 36 compilation.stderr.on('data', data => {
37 compilation.stderr.on('data', data => stderr.push(data.toString())) 37 stderr.push(data.toString());
38 });
38 39
39 compilation.on('close', code => { 40 compilation.on('close', code => {
40 debug('finished compiling PureScript.') 41 debug('finished compiling PureScript.')