Closed mdurakovic closed 5 years ago
Thanks for reporting! Please, try to update @nestjs/cli
and @nestjs/schematics
to their latest versions
I did, both cli and schematics are latest versions but issue is still present.
Have you updated only global versions of packages? If you run npm run start:dev
, it will use your local packages instead (so you have to update them as well)
yes, they are updated too
@mdurakovic it looks like you don't have the latest versions installed in your node_modules
. Here's what I have after doing a fresh install:
"devDependencies": {
"@nestjs/cli": "^6.9.0",
"@nestjs/schematics": "^6.7.0",
"@nestjs/testing": "^6.7.1",
"@types/express": "^4.17.1",
"@types/jest": "^24.0.18",
"@types/node": "^12.7.5",
...
Can you upgrade and try again? We did see an error like this in an earlier version, but I believe it's fixed in @latest.
Thank you, I missed it. Simple npm update
and hot reloading now works properly. Too bad this issue is present right from start of making new project, but lucky not a big problem
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Bug Report
Current behavior
Hot reloading does not work
Input Code
Followed instructions to setup new TS starter project
Expected behavior
Expecting hot reloading to work properly. Change "Hello world" in boilerplate generated app.service.ts to "Hello worlds" and you will get this in console:
Image for proof:
Restarted my laptop, repeated, issue still there. Tried with kebab-case named project, still same issue.
For Tooling issues: