jaguar_hotreload 0.2.1 copy "jaguar_hotreload: ^0.2.1" to clipboard
jaguar_hotreload: ^0.2.1 copied to clipboard

outdatedDart 1 only

Hot reloader for Dart and Jaguar

example/jaguar_hotreload_example.dart

// Copyright (c) 2017, teja. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

import 'dart:async';
import 'package:jaguar_hotreload/jaguar_hotreload.dart';

int count = 0;

main() async {
  final reloader = new HotReloader();
  reloader.addPath('.');
  await reloader.go();

  new Timer.periodic(new Duration(seconds: 1), (_) {
    print(count++);
  });
}
4
likes
0
pub points
53%
popularity

Publisher

unverified uploader

Hot reloader for Dart and Jaguar

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

glob, vm_service_lib, watcher

More

Packages that depend on jaguar_hotreload