Update startFrontend.js

pull/454/head
yann300 6 years ago committed by GitHub
parent 02c8466eb9
commit c6a60bbeab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      src/services/startFrontend.js

@ -1,13 +1,5 @@
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
}

Loading…
Cancel
Save