I just create the project by following official doc. And run it with npm run start:dev. Command Run and Show me Detail in Terminal like this image.
import { Injectable } from '@nestjs/common';
@Injectable()
export class AppService {
getHello(): string {
return 'Hello World!';
}
}
Than I change above getHello function in app.service.ts file from return 'Hello World' to retun 'Hello' like Below code. Change does not reflect after saving the file. And npm run start:dev command stuck
import { Injectable } from '@nestjs/common';
@Injectable()
export class AppService {
getHello(): string {
return 'Hello';
}
}
command stuck image:
I also try stackoverflow solution but didn't work