angel3_hot 4.0.0 copy "angel3_hot: ^4.0.0" to clipboard
angel3_hot: ^4.0.0 copied to clipboard

outdated

Supports hot reloading/hot code push of Angel servers on file changes.

example/main.dart

import 'dart:io';
import 'package:angel3_hot/angel3_hot.dart';
import 'server.dart';

void main() async {
  var hot = HotReloader(createServer, [
    Directory('src'),
    'server.dart',
    // Also allowed: Platform.script,
    Uri.parse('package:angel3_hot/angel3_hot.dart')
  ]);
  await hot.startServer('127.0.0.1', 3000);
}
4
likes
0
points
161
downloads

Publisher

verified publisherdukefirehawk.com

Weekly Downloads

Supports hot reloading/hot code push of Angel servers on file changes.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

angel3_framework, angel3_html_builder, angel3_websocket, charcode, glob, io, path, vm_service, watcher

More

Packages that depend on angel3_hot