Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Commit

Permalink
fix(serve): fix 'launchBrowser' of undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
imhoffd committed Aug 15, 2017
1 parent a1ccc17 commit 8f71e35
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ export function serve(context: BuildContext) {
if (err && err.isFatal) {
throw err;
} else {
onReady(config, context);
if (config) {
onReady(config, context);
}

return config;
}
});
Expand Down

0 comments on commit 8f71e35

Please sign in to comment.