Skip to content

Commit

Permalink
Merge branch 'master' into adds-default-linter-extensions
Browse files Browse the repository at this point in the history
* master:
  fixes bug where dev server doesnt close after webpack compile error (#167)
  • Loading branch information
delambo committed Sep 22, 2016
2 parents b81270a + af786d7 commit b02d724
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/actions/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ const { buildPath, serverSrcPath } = require('../../utils/paths')();
module.exports = (config) => {
logger.start('Starting development build...');

// Kill the server on exit.
process.on('SIGINT', process.exit);

let clientCompiler;
let serverCompiler;
const { clientConfig, serverConfig } = buildConfigs(config);
Expand Down

0 comments on commit b02d724

Please sign in to comment.