Add macOS hot reload test (#45264)

This commit is contained in:
Jonah Williams
2019-11-20 12:35:53 -08:00
committed by GitHub
parent 2c7af1e24e
commit 0e36a91d18
4 changed files with 39 additions and 7 deletions

View File

@@ -121,7 +121,7 @@ void recursiveCopy(Directory source, Directory target) {
for (FileSystemEntity entity in source.listSync(followLinks: false)) {
final String name = path.basename(entity.path);
if (entity is Directory)
if (entity is Directory && !entity.path.contains('.dart_tool'))
recursiveCopy(entity, Directory(path.join(target.path, name)));
else if (entity is File) {
final File dest = File(path.join(target.path, name));