Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

takes too much time to run the code after any change #292

Open
Othman2001 opened this issue Jan 16, 2023 · 3 comments
Open

takes too much time to run the code after any change #292

Othman2001 opened this issue Jan 16, 2023 · 3 comments
Labels
good first issue Good for newcomers more information is needed More information are required to understand issue

Comments

@Othman2001
Copy link

Describe the bug
we are using this generator to generate endpoints code with nest however our project is pretty large and sometimes we need to customize the end points, and when adding any change to the code in the endpoints it takes up to 15 min to re start the nodemon so i don't know where is the problem but i think that it re compiles the all modules again.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [windows]
  • Browser [e.g. chrome, safari]

NHipster configuration

@ghost
Copy link

ghost commented Jan 17, 2023

Thanks for the interest.
I think that is an issue related to nestjs version and your large project. So it is not a bug of generator.

@ghost ghost added good first issue Good for newcomers more information is needed More information are required to understand issue labels Jan 17, 2023
@mahdikeshavarz903
Copy link

mahdikeshavarz903 commented May 1, 2023

Describe the bug we are using this generator to generate endpoints code with nest however our project is pretty large and sometimes we need to customize the end points, and when adding any change to the code in the endpoints it takes up to 15 min to re start the nodemon so i don't know where is the problem but i think that it re compiles the all modules again.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [windows]
  • Browser [e.g. chrome, safari]

NHipster configuration

You can use TS_NODE_TRANSPILE_ONLY=true to solve the problem.

@aaarab
Copy link

aaarab commented Jun 12, 2023

just run npm run start:dev instead of npm run start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers more information is needed More information are required to understand issue
Projects
None yet
Development

No branches or pull requests

3 participants