How do I modify the node startup command in Open Shift?
问题 I'm using ES6 with babel-node to create my app and I require my app to start with the command babel-node app.js . This command is listed in scripts: start in my package.json so the command npm start runs the correct command. Open shift starts node apps with node + what ever script is set in the main property of your package.json file. In my case its "main": "app.js" . So this command is run node app.js . The server is choking on the first ES6 it encounters which makes sense. I can't figure