livereload_client library

API for listening to the livereload events based on dart:html.

In your main.dart:

import 'package:livereload/client.dart';

main() {
  new ReloadListener().listen();
  // continue with your code...
}

Caveat: If the WebSocket URI is customized, the optional parameter webSocketUri of ReloadListener needs to be specified.

Classes

ReloadListener
Listener that listens to webSocketUri for reloadSignal. [...]