- NodeJS 0.12+
npm install
npm run dev-start
The processes are handled by PM2.
By default, the server is running on the port 1337. To change it, create a file config/parameters.json
based on config/parameters.json.dist
and put your custom port.
The watcher checks the bundle-es6
directory and auto-compile to the bundle
directory when a file is modified.
The server is also reloaded automatically.
npm run dev-logs
This command displays the process logs of the server and the watcher. It is usefull to check the errors.
npm run dev-stop