mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 22:46:54 +01:00
Bumps [ws](https://github.com/websockets/ws) from 8.3.0 to 8.6.0. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/8.3.0...8.6.0) --- updated-dependencies: - dependency-name: ws dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.. | ||
.vscode | ||
cache | ||
src | ||
.gitignore | ||
mempool-config.sample.json | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
tslint.json |
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