Updated Hot

This commit is contained in:
thomashii 2022-01-03 14:45:47 +08:00
parent 57f4c0d618
commit 9db875329d
3 changed files with 12 additions and 9 deletions

View file

@ -1,5 +1,9 @@
# Change Log
## 4.3.0
* Updated to use `vm_service` 8.1.0
## 4.2.2
* Fixed '!' operator warning
@ -11,7 +15,7 @@
## 4.2.0
* Updated to use `belatuk_html_builder` package
* Upgraded from `pendantic` to `lints` linter
* Upgraded to `lints` linter
## 4.1.1

View file

@ -1,9 +1,9 @@
# Angel3 Hot Reloader
[![version](https://img.shields.io/badge/pub-v4.2.1-brightgreen)](https://pub.dev/packages/angel3_hot)
![Pub Version (including pre-releases)](https://img.shields.io/pub/v/angel3_hot?include_prereleases)
[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety)
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
[![License](https://img.shields.io/github/license/dart-backend/belatuk-common-utilities)](https://github.com/dukefirehawk/angel/tree/master/packages/hot/LICENSE)
[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/master/packages/hot/LICENSE)
![Screenshot of terminal](screenshots/angel3-screenshot.png)
@ -18,8 +18,8 @@ In your `pubspec.yaml`:
```yaml
dependencies:
angel3_framework: ^4.1.0
angel3_hot: ^4.2.0
angel3_framework: ^4.2.0
angel3_hot: ^4.3.0
```
## Usage
@ -49,8 +49,7 @@ import 'src/foo.dart';
main() async {
var hot = new HotReloader(createServer, [
new Directory('src'),
new Directory('src'),
Directory('src'),
'main.dart',
Uri.parse('package:angel3_hot/angel3_hot.dart')
]);

View file

@ -1,6 +1,6 @@
name: angel3_hot
description: Supports hot reloading/hot code push of Angel3 servers on file changes.
version: 4.2.2
version: 4.3.0
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/hot
environment:
@ -13,7 +13,7 @@ dependencies:
glob: ^2.0.1
io: ^1.0.0
path: ^1.8.0
vm_service: ^7.1.0
vm_service: ^8.1.0
watcher: ^1.0.0
dev_dependencies:
http: ^0.13.2