mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add a port log to server start
This commit is contained in:
parent
b7aab95519
commit
81da958761
@ -49,9 +49,9 @@ dappServer.get('/app.js', function(req, res){
|
|||||||
// serve static
|
// serve static
|
||||||
dappServer.use(express.static('./example'))
|
dappServer.use(express.static('./example'))
|
||||||
|
|
||||||
|
const dappPort = '9002'
|
||||||
dappServer.listen('9002')
|
dappServer.listen(dappPort)
|
||||||
|
console.log(`Dapp listening on port ${dappPort}`)
|
||||||
|
|
||||||
function createBundle(entryPoint){
|
function createBundle(entryPoint){
|
||||||
|
|
||||||
@ -70,7 +70,7 @@ function createBundle(entryPoint){
|
|||||||
global: true,
|
global: true,
|
||||||
presets: [bablePreset],
|
presets: [bablePreset],
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
bundler.on('update', bundle)
|
bundler.on('update', bundle)
|
||||||
bundle()
|
bundle()
|
||||||
@ -85,4 +85,4 @@ function createBundle(entryPoint){
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user