vinibgoulart / wpp-playground

Whatsapp playground
33 stars 15 forks source link

refact dev command to use tsx #30

Closed 2yuri closed 3 months ago

2yuri commented 3 months ago

Currently the package.json contains 3 commands to run dev mode.

"dev": "concurrently \"npm run watch-compile\" \"npm run watch-dev\"",
"watch-compile": "swc src -w --out-dir dist --copy-files",
"watch-dev": "nodemon --watch \"dist/**/*\" -e js ./dist/index.js",

This problem can be solved using tsx watch mode

PedroCost4 commented 3 months ago

@vinibgoulart can you assign this to me?