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
|
||||
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){
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user