When I run npm run start:dev in NestJs it works like this:
10:00:00 AM - Starting compilation in watch mode...
10:00:10 AM - Found 0 errors. Watching for file changes.
Debugger listening on ws://127.0.0.1:9229/0cb76900-3b46-4f68-82c0-ea78ed36f327
For help, see: https://nodejs.org/en/docs/inspector
[Nest] 3932 - 03/06/2020, 10:00:23 AM [NestFactory] Starting Nest application...
[Nest] 3932 - 03/06/2020, 10:00:23 AM [InstanceLoader] JwtModule dependencies initialized +41ms
[Nest] 3932 - 03/06/2020, 10:00:23 AM [InstanceLoader] ConfigHostModule dependencies initialized +2ms
[Nest] 3932 - 03/06/2020, 10:00:23 AM [InstanceLoader] ConfigModule dependencies initialized +2ms
But when I changed the code it was not rebuilt. It just shows like this:
10:40:27 AM - File change detected. Starting incremental compilation...
10:40:27 AM - Found 0 errors. Watching for file changes.
Can anyone help me to fix it? Thanks very much.