Created
January 26, 2024 02:18
-
-
Save putrasurya/a108ab6d51c19cc206ab3e92af5691be to your computer and use it in GitHub Desktop.
Blazor Hot Reload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json.schemastore.org/launchsettings.json", | |
"iisSettings": { | |
// truncated | |
}, | |
"profiles": { | |
"http": { | |
"hotReloadEnabled": true, // add this | |
// truncated | |
}, | |
"https": { | |
"hotReloadEnabled": true, // and this | |
// truncated | |
}, | |
"IIS Express": { | |
// truncated | |
}, | |
"Debug & Hot Reload": { | |
"commandName": "Executable", | |
"workingDirectory": "$(ProjectDir)", | |
"executablePath": "dotnet", | |
"commandLineArgs": "watch run debug --launch.profile https" | |
} | |
} | |
} | |
// then in your VS run the project using profile "Debug & Hot Reload" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment