diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-08-27 10:15:20 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-08-27 10:15:20 +0800 |
commit | 81da958761ab7ae3976c7444528ba8d9bb0744c6 (patch) | |
tree | 5540fd6560b71d1904757da52b7425e5f69543f4 /library | |
parent | b7aab955196a7cef2705e8546814b5c6c1830da7 (diff) | |
download | tangerine-wallet-browser-81da958761ab7ae3976c7444528ba8d9bb0744c6.tar tangerine-wallet-browser-81da958761ab7ae3976c7444528ba8d9bb0744c6.tar.gz tangerine-wallet-browser-81da958761ab7ae3976c7444528ba8d9bb0744c6.tar.bz2 tangerine-wallet-browser-81da958761ab7ae3976c7444528ba8d9bb0744c6.tar.lz tangerine-wallet-browser-81da958761ab7ae3976c7444528ba8d9bb0744c6.tar.xz tangerine-wallet-browser-81da958761ab7ae3976c7444528ba8d9bb0744c6.tar.zst tangerine-wallet-browser-81da958761ab7ae3976c7444528ba8d9bb0744c6.zip |
Add a port log to server start
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 c7fea085f..16143e72b 100644 --- a/library/server.js +++ b/library/server.js @@ -49,9 +49,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){ @@ -70,7 +70,7 @@ function createBundle(entryPoint){ global: true, presets: [bablePreset], }) - + bundler.on('update', bundle) bundle() @@ -85,4 +85,4 @@ function createBundle(entryPoint){ }) } -}
\ No newline at end of file +} |