enableHotReload function
Enables hot reloading of the application when source files change.
This works by watching for file changes in the current directory and its subdirectories. When a Dart file changes, the application is restarted.
The application is restarted by calling the hotReload function.
Implementation
void enableHotReload(App app) {
print("[dartcore] 🗹 Hot Reload");
watchFiles(() => hotReload(app));
}