- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Hi.
First of all, thanks a lot for this template. It's excellent to have it.
Would it be possible to add a hot reload to it? Would be great if its re-build and re-started automatically.
I tried few implementations, but they wouldn't work:
"dev:hot0": "nodemon --watch src --exec \"npm run dev\"",
"dev:hot1": "concurrently \"npm run build\" \"nodemon --watch src dist/start-bot.js\"",
Both of them stuck after change event triggered. Any ideas what might be wrong?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Projects
Milestone
Relationships
Development
Select code repository
Activity
matheus-caldeira commentedon Jan 4, 2023
Hi,
Dependencies:
package.json:
tsconfig.json
Dizotoff commentedon Jan 7, 2023
Thanks a lot @matheus-caldeira
michael-delle commentedon Jun 17, 2023
I like using PM2 so I just added "watch" to the process.json file
"watch": ["dist/"]