Fix Wences 2

This commit is contained in:
Luis Fernando Molina committed 2020-08-22 20:50:51 +02:00
1 parent 97f499e872
commit 2858ed8426
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -33,8 +33,10 @@ exports.newWebServer = function newWebServer(EVENTS_SERVER) {
}
function run() {
if (process.argv[2] !== 'noBrowser') {
if (process.argv[4] !== 'noBrowser') {
startHtttpServer()
} else {
console.log('Running Backend only with no UI.')
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
const { fork } = require('child_process')
fork('./BackendServers/server.js', undefined, { stdio: 'inherit' })
fork('./BackendServers/server.js', process.argv, { stdio: 'inherit' })