This reverts commit bbcf55a5b0 as it breaks hot reload on Windows.
This commit is contained in:
committed by
GitHub
parent
bbcf55a5b0
commit
0f3eada066
@@ -227,7 +227,7 @@ Future<Null> _recompile(StreamController<List<int>> streamController,
|
||||
final String output = await generator.recompile(null /* mainPath */, <String>['/path/to/main.dart']);
|
||||
expect(output, equals('/path/to/main.dart.dill'));
|
||||
final String commands = mockFrontendServerStdIn.getAndClear();
|
||||
final RegExp re = new RegExp('^recompile (.*)\\n/path/to/main.dart\\n(.*)\\n\$');
|
||||
final RegExp re = new RegExp(r'^recompile (.*)\n/path/to/main.dart\n(.*)\n$');
|
||||
expect(commands, matches(re));
|
||||
final Match match = re.firstMatch(commands);
|
||||
expect(match[1] == match[2], isTrue);
|
||||
|
||||
Reference in New Issue
Block a user