From 96e0c61ead08464931a18aac75738fc3af2e2dce Mon Sep 17 00:00:00 2001 From: Tobe Osakwe Date: Sun, 30 Dec 2018 20:39:22 -0500 Subject: [PATCH] Update dev.dart --- bin/dev.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/dev.dart b/bin/dev.dart index 8a62248..38282be 100644 --- a/bin/dev.dart +++ b/bin/dev.dart @@ -1,5 +1,7 @@ import 'dart:io'; import 'package:angel/angel.dart'; + +import 'package:angel_container/mirrors.dart'; import 'package:angel_framework/angel_framework.dart'; import 'package:angel_hot/angel_hot.dart'; import 'package:lumberjack/lumberjack.dart'; @@ -8,7 +10,7 @@ import 'package:lumberjack/io.dart'; main() async { // Watch the config/ and web/ directories for changes, and hot-reload the server. var hot = HotReloader(() async { - var app = Angel(); + var app = Angel(reflector: MirrorsReflector()); await app.configure(configureServer); app.logger = Logger('angel')..pipe(AnsiLogPrinter.toStdout()); app.shutdownHooks.add((_) => app.logger.close());