Skip to content

Commit

Permalink
fix(webpack): compile hook issue with output
Browse files Browse the repository at this point in the history
This fixes issue #956
  • Loading branch information
Vheissu committed Oct 25, 2018
1 parent ac889c0 commit a9dd926
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/resources/tasks/build-webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function buildWebpack(done) {
compiler.watch({}, onBuild);
} else {
compiler.run(onBuild);
compiler.hooks.done.tap('AureliaCLI', done);
compiler.hooks.done.tap('done', () => done());
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/resources/tasks/build-webpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function buildWebpack(done) {
compiler.watch({}, onBuild);
} else {
compiler.run(onBuild);
compiler.hooks.done.tap('AureliaCLI', done);
compiler.hooks.done.tap('done', () => done());
}
}

Expand Down

0 comments on commit a9dd926

Please sign in to comment.