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

feat: add flag to disable shell mode for nest start --watch #2522

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 21, 2024

  1. feat: add flag to disable shell mode for nest start --watch

    When running on Linux/WSL, `nest start --watch` does not wait the app to shutdown on restart.
    That leads to two instances of application running simultaneously, especially if it has async
    shutdown hooks. That commit fixes that adding an option to disable shell mode when spawning
    child processes so then app will completely shutdown first and only then started again.
    Thanks @jleverenz for the investigation and solution idea in nestjs/nest-cli/1614
    
    fixes nestjs/nest-cli/1614
    quallrum committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    d474f5f View commit details
    Browse the repository at this point in the history