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) {
var server = serve(path, {
port: port
})
function kill () {
console.log('stopping frontend')
server.stop()
}
console.log('\x1b[31m%s\x1b[0m', '[ERR] Front end capability is not available anymore')
function 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