ee-bin 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tools/serve.js +2 -1
package/package.json
CHANGED
package/tools/serve.js
CHANGED
|
@@ -141,11 +141,12 @@ module.exports = {
|
|
|
141
141
|
|
|
142
142
|
let execDir = path.join(process.cwd(), cfg.directory);
|
|
143
143
|
let execArgs = is.string(cfg.args) ? [cfg.args] : cfg.args;
|
|
144
|
+
let stdio = cfg.stdio ? cfg.stdio: 'inherit';
|
|
144
145
|
|
|
145
146
|
this.execProcess[cmd] = crossSpawn(
|
|
146
147
|
cfg.cmd,
|
|
147
148
|
execArgs,
|
|
148
|
-
{ stdio:
|
|
149
|
+
{ stdio: stdio, cwd: execDir, maxBuffer: 1024 * 1024 * 1024 },
|
|
149
150
|
);
|
|
150
151
|
console.log(chalk.blue(`[ee-bin] [${binCmd}] `) + 'The ' + chalk.green(`[${binCmd} ${cmd}]`) + ' command is running');
|
|
151
152
|
|