Skip to content

Commit

Permalink
hot module removed from main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rodolfocanessaGL committed Sep 5, 2018
1 parent 02cb6c7 commit 3b65de9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ async function bootstrap() {

setSwaggerConfiguration(app);

if (module.hot) {
module.hot.accept();
module.hot.dispose(() => app.close());
}

if (isDev()) {
app.enableCors();
}
Expand Down

0 comments on commit 3b65de9

Please sign in to comment.