pscBundleArgs: {},
pscIde: false, // instant rebuilds using psc-ide-server (experimental)
pscIdeArgs: {}, // for example, to use different psc-ide-server port: {port: 4088}
+ pscIdeServerArgs: {}, // for example, to change the port { port: 4088 }
pscIdeColors: false, // defaults to true if psc === 'psa'
bundleOutput: 'output/bundle.js',
bundleNamespace: 'PS',
ideClient.stdin.write('\n')
})
- const args = dargs(Object.assign({
+ const serverArgs = dargs(Object.assign({
outputDirectory: options.output,
- }, options.pscIdeArgs))
+ "_": options.src
+ }, options.pscIdeServerArgs))
- debug('attempting to start psc-ide-server', args)
+ debug('attempting to start psc-ide-server', serverArgs)
- const ideServer = cache.ideServer = spawn('psc-ide-server', [])
+ const ideServer = cache.ideServer = spawn('psc-ide-server', serverArgs)
ideServer.stderr.on('data', data => {
debug(data.toString())
})