Can .NET Hot Reload Avoid Restarts When Modifying Main or Static Constructors?
In a repeatable development environment that relies on dotnet watch run or IDE‑based Hot Reload, developers often encounter full process restarts when they edit the Main method or any static constructor. The underlying Roslyn edit‑and‑continue engine cannot apply changes that alter control flow or type layout, so the runtime performs a restart to preserve co