Browse Source

nodemon stderr output

pull/1/head
rozetko 7 years ago
parent
commit
683c25aedb
  1. 2
      server/build/dev-server.js

2
server/build/dev-server.js

@ -4,7 +4,7 @@ const webpack = spawn('webpack', ['--config', 'build/webpack.dev.conf.js'], {
stdio: 'inherit',
shell: true
});
//webpack.stdout.pipe(process.stdout);
const nodemon = spawn('nodemon', ['../dist/server', '--watch', 'server.js']);
nodemon.stdout.pipe(process.stdout);
nodemon.stderr.pipe(process.stderr);

Loading…
Cancel
Save