This reverts commit 2f921f4cc73994cc9ea9c317c8897de0d1881340, reversing changes made to 877be47e5be03e31b25cc12fbe2ee45be881e5d8.
Setup backend watchers
The backend is static. Typescript scripts are compiled into the dist
folder and served through a node web server.
You can avoid the manual shutdown/recompile/restart command line cycle by using a watcher.
Make sure you are in the backend
directory cd backend
.
- Install nodemon and ts-node
sudo npm install -g ts-node nodemon
- Run the watcher
Note: You can find your npm global binary folder using
npm -g bin
, where nodemon will be installed.
nodemon src/index.ts --ignore cache/ --ignore pools.json