fire 1.1.0 icon indicating copy to clipboard operation
fire: ^1.1.0 copied to clipboard

SDKDart

Hot restart for Dart console application with fast incremental compilation.

Pub Package License

Hot restart for Dart console application with fast incremental compilation.

Why do I need this? #

If your console application compiles too long before running, and dart run, which is now supports incremental compilation, seems too slow.

Install #

Use the dart pub global command to install this into your system.

$ dart pub global activate fire

Use #

If you have modified your PATH, you can run this from any local directory.

$ fire

Otherwise you can use the dart pub global command.

$ dart pub global run fire

Here's an example of running a console application:

$ fire bin/cat.dart example/example.dart
> watching 'lib' folder.
> compiling done, took 0:00:00.000054
void main() {
  print('hello cat!');
}

> press r to restart and q to exit.

While running creates bin/cat.dill incremental kernel snapshot.

ToDo #

Alternatives #

3
likes
90
pub points
51%
popularity

Publisher

unverified uploader

Hot restart for Dart console application with fast incremental compilation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

frontend_server_client, path, stack_trace, watcher

More

Packages that depend on fire