diff --git a/index.js b/index.js index 25db0c64278fdd17fadc6aaa0b9af7a649ec43ea..562147a4cb3d0a9fbbb0023d2b85689d3f44d300 100644 --- a/index.js +++ b/index.js @@ -22,6 +22,11 @@ module.exports = { * SPECIALISATION ***************************************/ + // Inject 'webstart' command if no argument was given + if (process.argv.length === 2) { + process.argv.push('webstart'); + } + const app = express(); const HOTE = 'localhost'; const PORT = 9220;