diff --git a/lib/src/commands/start.dart b/lib/src/commands/start.dart index 3d1580a8..b37a665b 100644 --- a/lib/src/commands/start.dart +++ b/lib/src/commands/start.dart @@ -34,6 +34,14 @@ class StartCommand extends Command { @override run() async { + stderr + ..writeln( + 'WARNING: `angel start` is now deprecated, in favor of `package:angel_hot`.') + ..writeln( + 'This new alternative supports hot reloading, which is faster and more reliable.') + ..writeln() + ..writeln('Find it on Pub: https://pub.dartlang.org/packages/angel_hot'); + if (argResults['watch']) { try { new DirectoryWatcher('bin').events.listen((_) async => start()); @@ -76,8 +84,8 @@ class StartCommand extends Command { if (scriptsNode != null && scriptsNode.containsKey('start')) { try { - var scripts = - await Process.start(InitCommand.resolvePub(), ['global', 'run', 'scripts', 'start']); + var scripts = await Process.start( + InitCommand.resolvePub(), ['global', 'run', 'scripts', 'start']); listen(scripts.stdout, stdout); listen(scripts.stderr, stderr); int code = await scripts.exitCode; diff --git a/lib/src/pubspec.update.g.dart b/lib/src/pubspec.update.g.dart index 04cc7783..507249b4 100644 --- a/lib/src/pubspec.update.g.dart +++ b/lib/src/pubspec.update.g.dart @@ -3,7 +3,7 @@ import 'dart:convert'; import 'package:http/src/base_client.dart' as http; import 'package:pub_semver/pub_semver.dart'; -final Version PACKAGE_VERSION = new Version(1, 0, 12); +final Version PACKAGE_VERSION = new Version(1, 1, 0); Future fetchCurrentVersion(http.BaseClient client) async { var response = await client.get('https://pub.dartlang.org/api/packages/angel_cli'); diff --git a/pubspec.yaml b/pubspec.yaml index a499da46..0fac6821 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ author: "Tobe O " description: "Command-line tools for the Angel framework." homepage: "https://github.com/angel-dart/angel_cli" name: "angel_cli" -version: 1.0.12 +version: 1.1.0 dependencies: # analyzer: "^0.29.0" args: "^0.13.7"