From 00b14878a8f4430be04a651c0d6f9e1798dcaab4 Mon Sep 17 00:00:00 2001 From: thomashii Date: Sun, 7 Mar 2021 20:45:40 +0800 Subject: [PATCH] Update bin --- bin/dev.dart | 2 +- bin/prod.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/dev.dart b/bin/dev.dart index e22cba9..034a416 100644 --- a/bin/dev.dart +++ b/bin/dev.dart @@ -6,7 +6,7 @@ import 'package:angel_framework/angel_framework.dart'; import 'package:angel_hot/angel_hot.dart'; import 'package:logging/logging.dart'; -main() async { +void main() async { // Watch the config/ and web/ directories for changes, and hot-reload the server. hierarchicalLoggingEnabled = true; diff --git a/bin/prod.dart b/bin/prod.dart index db0ec67..fb7de39 100644 --- a/bin/prod.dart +++ b/bin/prod.dart @@ -25,6 +25,6 @@ import 'package:angel_production/angel_production.dart'; // so in the meantime, visit the Angel chat for further questions: // // https://gitter.im/angel_dart/discussion -main(List args) => +void main(List args) => Runner('{{angel}}', configureServer, reflector: MirrorsReflector()) .run(args);