Skip to content

Commit

Permalink
Merge pull request #36 from michaelBenin/patch-1
Browse files Browse the repository at this point in the history
[BUGFIX] Return early if error
  • Loading branch information
gaearon committed Feb 29, 2016
2 parents 3f4709a + f1b51a4 commit b7790bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ new WebpackDevServer(webpack(config), {
historyApiFallback: true
}).listen(3000, 'localhost', function (err, result) {
if (err) {
console.log(err);
return console.log(err);
}

console.log('Listening at http://localhost:3000/');
Expand Down

0 comments on commit b7790bc

Please sign in to comment.