Skip to content

Commit

Permalink
Fix optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdover committed Aug 13, 2018
1 parent 844d401 commit 2c37a8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/optimize/bundles_route/dynamic_asset_response.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ import { replacePlaceholder } from '../public_path_placeholder';
export async function createDynamicAssetResponse(options) {
const {
request,
h,
bundlesPath,
publicPath,
fileHashCache,
h
} = options;

let fd;
Expand Down
2 changes: 1 addition & 1 deletion src/optimize/watch/watch_optimizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default class WatchOptimizer extends BaseOptimizer {
// and continue once an outcome is reached (aborting the request
// with an error if it was a failure).
server.ext('onRequest', (request, h) => {
this.onceBuildOutcome()
return this.onceBuildOutcome()
.then(() => h.continue);
});

Expand Down

0 comments on commit 2c37a8f

Please sign in to comment.