hotreload library

Functions

disableHotReload(App app) → void
Disables hot reloading of the application.
enableHotReload(App app) → void
Enables hot reloading of the application when source files change.
hotReload(App app) → void
Performs a hot reload of the application by shutting down the current instance and restarting it with the same executable and arguments.
watchFiles(Function onFileChange) → void
Watches for changes in Dart files within the current directory and its subdirectories. When a Dart file is modified, the onFileChange callback is triggered.