Closed elontruong closed 2 years ago
Let me work on this ASAP
PS: your command "yarn compile:watch" maybe wrong when include "src".
Could you please elaborate on this
PS: your command "yarn compile:watch" maybe wrong when include "src".
Could you please elaborate on this
OK. I got it
PS: your command "yarn compile:watch" maybe wrong when include "src". Could you please elaborate on this
OK. I got it
Github remove my "\" character, dev script should look like this
I think maybe use should add a package "concurrently" as devDependencies. And change dev script like this to achieve Hot Reload as dev script.
PS: your command "yarn compile:watch" maybe wrong when include "src".
`"dev": "concurrently \"yarn compile:watch\" \"yarn pre:dev\"",
"pre:dev": "cross-env NODE_ENV=development nodemon --experimental-modules --es-module-specifier-resolution=node dist/index.js",
"compile:watch": "tsc --build --watch",`