aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-08-27 10:15:20 +0800
committerDan Finlay <dan@danfinlay.com>2016-08-27 10:15:20 +0800
commit81da958761ab7ae3976c7444528ba8d9bb0744c6 (patch)
tree5540fd6560b71d1904757da52b7425e5f69543f4 /library
parentb7aab955196a7cef2705e8546814b5c6c1830da7 (diff)
downloadtangerine-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.js10
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
+}