diff options
Merge branch 'library' of github.com:MetaMask/metamask-plugin into library
Diffstat (limited to 'library')
-rw-r--r-- | library/server.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/server.js b/library/server.js index 6da9b2e0b..7c764a4a7 100644 --- a/library/server.js +++ b/library/server.js @@ -45,9 +45,9 @@ dappServer.get('/app.js', function(req, res){ // serve static dappServer.use(express.static('./example')) - -dappServer.listen('9002') - +const dappPort = '9002' +dappServer.listen(dappPort) +console.log(`Dapp listening on port ${dappPort}`) function createBundle(entryPoint){ @@ -67,7 +67,7 @@ function createBundle(entryPoint){ global: true, presets: [bablePreset], }) - + bundler.on('update', bundle) bundle() @@ -82,4 +82,4 @@ function createBundle(entryPoint){ }) } -}
\ No newline at end of file +} |