Alexander Aprelev 85e4f0526b Fix restart flow for preview-dart-2 mode. (#12496)
* Fix restart flow for preview-dart-2 mode.

Restart in preview-dart-2 needs to use kernel file and it has to be complete, rather than incremental kernel file.

* Add curly braces

* Do full compile on restart

* Roll engine to pick up changes to hot reload for preview-dart-2
2017-10-12 14:48:37 -07:00
..

Dart SDK dependency

The Dart SDK is downloaded from one of the supported channels, cached in bin/cache/dart-sdk and is used to run Flutter Dart code.

The file bin/internal/dart-sdk.version determines the version of Dart SDK that will be downloaded. Normally it points to the dev channel (for example, 1.24.0-dev.6.7), but it can also point to particular bleeding edge build of Dart (for example, hash/c0617d20158955d99d6447036237fe2639ba088c).