jaguar_hotreload 2.0.2
jaguar_hotreload: ^2.0.2 copied to clipboard

Hot reloader for Dart. Reloads your application whenever a file system change is detected in the source files or registered files.

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;

Future<void> main() async {
  final reloader = HotReloader()..addPath('.');
  await reloader.addPackageDependencies();
  await reloader.go();

  Timer.periodic(Duration(seconds: 1), (_) {
    print(count++);
  });
}
2
likes
90
pub points
41%
popularity

Hot reloader for Dart. Reloads your application whenever a file system change is detected in the source files or registered files.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

tejainece@gmail.com

License

BSD (LICENSE)

Dependencies

glob, vm_service_lib, watcher

More

Packages that depend on jaguar_hotreload