Unverified Commit c6a60bbe authored by yann300's avatar yann300 Committed by GitHub

Update startFrontend.js

parent 02c8466e
const serve = require('serve')
module.exports = function (path, port) { module.exports = function (path, port) {
var server = serve(path, { console.log('\x1b[31m%s\x1b[0m', '[ERR] Front end capability is not available anymore')
port: port function kill () {}
})
function kill () {
console.log('stopping frontend')
server.stop()
}
return kill return kill
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment