From 1b234858f2e8ac708c0ee7d9325b12db64f6626c Mon Sep 17 00:00:00 2001 From: Seth Ladd Date: Thu, 22 Aug 2024 10:49:50 -0700 Subject: [PATCH] Update README.md to clarify who flutter-dev is for and what the trade-offs are (#153947) *Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.* *List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.* *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].* --- packages/flutter_tools/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/flutter_tools/README.md b/packages/flutter_tools/README.md index 968227e253..19ce797a7c 100644 --- a/packages/flutter_tools/README.md +++ b/packages/flutter_tools/README.md @@ -26,12 +26,18 @@ $ dart bin/flutter_tools.dart ``` followed by command-line arguments, as usual. -As a convenience, you can also use the `bin/flutter-dev` script: +As a convenience for folks developing the `flutter` tool itself, +you can also use the `bin/flutter-dev` script: ```shell # Assuming flutter/bin is on your PATH $ flutter-dev ``` +Note: `flutter-dev` is identical to `flutter`, except it does not +use a cached on-disk snapshot. In other words, it will be significantly +slower but you will not need to forget (remember?) to delete the cached +snapshot. + ### Running the analyzer To run the analyzer on Flutter Tools, in this directory run: