stop method
Stops the HTTP server and cancels file watching.
Implementation
Future<void> stop() async {
_reloadDebounce?.cancel();
await _watchSubscription?.cancel();
await _server?.close(force: true);
}
Stops the HTTP server and cancels file watching.
Future<void> stop() async {
_reloadDebounce?.cancel();
await _watchSubscription?.cancel();
await _server?.close(force: true);
}