diff --git a/.idea/.name b/.idea/.name index e06466d6fc..e7aa062593 100644 --- a/.idea/.name +++ b/.idea/.name @@ -1 +1 @@ -Flutter \ No newline at end of file +flutter \ No newline at end of file diff --git a/packages/flutter_tools/lib/src/base/file_system.dart b/packages/flutter_tools/lib/src/base/file_system.dart index 1c33ea0c60..16cc449456 100644 --- a/packages/flutter_tools/lib/src/base/file_system.dart +++ b/packages/flutter_tools/lib/src/base/file_system.dart @@ -11,7 +11,7 @@ import 'package:path/path.dart' as path; export 'package:file/io.dart'; export 'package:file/sync_io.dart'; -/// Currently active implmenetation of the file system. +/// Currently active implementation of the file system. /// /// By default it uses local disk-based implementation. Override this in tests /// with [MemoryFileSystem]. diff --git a/packages/flutter_tools/lib/src/base/os.dart b/packages/flutter_tools/lib/src/base/os.dart index e5993ca0c9..9d54555ef8 100644 --- a/packages/flutter_tools/lib/src/base/os.dart +++ b/packages/flutter_tools/lib/src/base/os.dart @@ -124,7 +124,7 @@ Future findAvailablePort() async { return port; } -const int _kMaxSearchIterations = 5; +const int _kMaxSearchIterations = 20; /// This method will attempt to return a port close to or the same as /// [defaultPort]. Failing that, it will return any available port. diff --git a/packages/flutter_tools/lib/src/hot.dart b/packages/flutter_tools/lib/src/hot.dart index 90443b552b..6f440f0147 100644 --- a/packages/flutter_tools/lib/src/hot.dart +++ b/packages/flutter_tools/lib/src/hot.dart @@ -483,8 +483,8 @@ class HotRunner extends ResidentRunner { int errorCode = error['code']; if (errorCode == Isolate.kIsolateReloadBarred) { printError('Unable to hot reload app due to an unrecoverable error in ' - 'the source code. Please address the error and then ' - 'Use "R" to restart the app.'); + 'the source code. Please address the error and then use ' + '"R" to restart the app.'); flutterUsage.sendEvent('hot', 'reload-barred'); return false; }