cplayground icon indicating copy to clipboard operation
cplayground copied to clipboard

Add hot-reload for backend

Open Karshilov opened this issue 3 years ago • 0 comments

Dependencies

Script

  • use nodemon to monitor file changes
  • use ts-node to run typescript files directly instead of using tsc to transform them into js files

Changes

  • the backend entry now is src/server/index.ts but not dist/server/index.js

Karshilov avatar Aug 07 '21 07:08 Karshilov