Need ability to disable hot reload when using @nx-dotnet/core:serve and/or @nx-dotnet/core:test #852
Labels
enhancement
New feature or request
needs-triage
This issue has yet to be looked over by a core team member
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
flagAdditional 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).The text was updated successfully, but these errors were encountered: