From 7532a99ce6d244ef00f1240f1dd47cc661d24234 Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Thu, 10 Aug 2017 08:46:56 -0700 Subject: [PATCH] Mention alternative way to rebuild flutter tools in CONTRIBUTING.md (#11567) --- CONTRIBUTING.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index eed673b008..3c791b3a37 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -130,6 +130,9 @@ you run `flutter upgrade`. If you want to alter and re-test the tool's behavior locally commit your tool changes in git and the tool will be rebuilt from Dart sources in `packages/flutter_tools` the next time you run `flutter`. +Alternatively, delete the `bin/cache/flutter_tools.snapshot` file. Doing so will +force a rebuild of the tool from your local sources the next time you run `flutter`. + flutter_tools' tests run inside the Dart command line VM rather than in the flutter shell. To run the test: