Skip to content

Commit

Permalink
Add server reference to bundler (#822)
Browse files Browse the repository at this point in the history
* add server reference to bundler

* remove let
  • Loading branch information
fusepilot authored and devongovett committed Feb 20, 2018
1 parent 842b9d8 commit a242471
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -574,9 +574,9 @@ class Bundler extends EventEmitter {
}

async serve(port = 1234, https = false) {
let server = await Server.serve(this, port, https);
this.server = await Server.serve(this, port, https);
this.bundle();
return server;
return this.server;
}
}

Expand Down

0 comments on commit a242471

Please sign in to comment.