For Umbraco 17, in local development, it seems I cannot make changes to razor files without rebuilding the project every time (unless I’m missing something).
If I install the package Umbraco.Cms.DevelopmentMode.Backoffice, this should work, but I only want this functionality on localhost development environments.
Do I need to uninstall this package in production branches if I don’t want its functionality on production? If so, I really dislike this, as it means development branches will require this package to be worked on, and will differ from production branches. This means for every merge, we will have to remove the Umbraco.Cms.DevelopmentMode.Backoffice package. Maybe I’m missing something?
Perhaps there is a killswitch that could be set in appsettings.json so the Umbraco.Cms.DevelopmentMode.Backoffice package can remain but be disabled? Idk.
Note, if anyone has trouble getting the Umbraco.Cms.DevelopmentMode.Backoffice package to work, you may need to set your appsettings.Development.json file to use BackofficeDevelopment mode: