disableHotReload function
Disables hot reloading of the application.
This function is the opposite of enableHotReload. Instead of restarting the application when a source file changes, this function does nothing when a source file changes.
This function is useful for temporarily disabling hot reloading without having to comment out the call to enableHotReload. or dynamically disable hot reloading based on some condition.
Implementation
void disableHotReload(App app) {
print("[dartcore] [𐄂] Hot Reload");
watchFiles(() => {});
}