ee-bin 1.4.0 → 1.5.0-beta.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tools/serve.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ee-bin",
3
- "version": "1.4.0",
3
+ "version": "1.5.0-beta.1",
4
4
  "description": "ee bin",
5
5
  "main": "index.js",
6
6
  "scripts": {
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: 'inherit', cwd: execDir, maxBuffer: 1024 * 1024 * 1024 },
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