hmr 1.3.2 copy "hmr: ^1.3.2" to clipboard
hmr: ^1.3.2 copied to clipboard

Hot Module Replacement system specially designed for command-line Dart applications.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate hmr

Use it

The package has the following executables:

$ hmr

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add hmr

With Flutter:

 $ flutter pub add hmr

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  hmr: ^1.3.2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:hmr/hmr.dart';
0
likes
140
points
49
downloads

Publisher

verified publisherleadcode.fr

Weekly Downloads

Hot Module Replacement system specially designed for command-line Dart applications.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

glob, mansion, path, yaml

More

Packages that depend on hmr