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

Need ability to disable hot reload when using @nx-dotnet/core:serve and/or @nx-dotnet/core:test #852

Open
heathprovost opened this issue Apr 25, 2024 · 0 comments
Labels
enhancement New feature or request needs-triage This issue has yet to be looked over by a core team member

Comments

@heathprovost
Copy link

Is your feature request related to a problem? Please describe.
Currently there is no option to disable .NET Core Hot Reload when using @nx-dotnet/core:serve and/or @nx-dotnet/core:test with watch set to true.

Describe the solution you'd like
A mechanism is provided to tell @nx-dotnet/core:serve and/or @nx-dotnet/core:test to disable hot reload support.

Describe alternatives you've considered
In order to do this in our mono repo we are currently forced to patch @nx-dotnet/dotnet to force the --no-hot-reload flag

Additional context
The ability to disable this feature is important in any environment where these executors are used to spawn non-interactive processes that are expected to restart on file changes. Without the --no-hot-reload flag the process will prompt the user to restart on a code edit, when the desired behavior in this case would be to always restart (which is what the flag does).

@heathprovost heathprovost added enhancement New feature or request needs-triage This issue has yet to be looked over by a core team member labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage This issue has yet to be looked over by a core team member
Projects
None yet
Development

No branches or pull requests

1 participant