Developers may consider using volta to manage Node versions.
-
npm run watch
from the root of the project will run webpack in watch mode, continually rebuilding the front end as changes are made, as well as restarting the backend and listener when their files change. -
npm run webpack
from the root of the project runs webpack once, to rebuild the front end a single time.
cd agilegps/src/server
node server-watch
starts the web server, listening for file system code changes and automatically restarting the web server process on change, for easier development.node server
starts the server without listening for file system changes.node debug server
runs the server in the debugger.- Node 6.3.0 and later has V8 Inspector integration which allows attaching Chrome DevTools to Node.js instances for debugging and profiling: https://nodejs.org/api/debugger.html#debugger_v8_inspector_integration_for_node_js
- You should be able to access and login to the app at http://localhost:3000
cd agilegps/src/listener
- Run:
node listen.js
- To debug,
node debug listen.js