debug('spawning compiler %s %o', options.psc, args)
return (new Promise((resolve, reject) => {
- console.log('\nCompiling PureScript...')
+ debug('\nCompiling PureScript...')
const compilation = spawn(options.psc, args)
compilation.stderr.on('data', data => stderr.push(data.toString()))
compilation.on('close', code => {
- console.log('Finished compiling PureScript.')
+ debug('Finished compiling PureScript.')
cache.compilationFinished = true
if (code !== 0) {
cache.errors = stderr.join('')
debug('spawning bundler %s %o', options.pscBundle, args.join(' '))
return (new Promise((resolve, reject) => {
- console.log('Bundling PureScript...')
+ debug('Bundling PureScript...')
const compilation = spawn(options.pscBundle, args)