Skip to content

Commit 6c48d98

Browse files
committed
Adds sync command to run at the end of deploy.
Makes it so the files actually save.
1 parent 80d7510 commit 6c48d98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

FRC-Extension/RoboRIOCode/DeployManager.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@ public async Task UploadCode(string robotName, SettingsPageGrid page, bool debug
300300
}
301301
commands.AddRange(DeployProperties.DeployKillCommand);
302302
await RoboRIOConnection.RunCommands(commands.ToArray(), ConnectionUser.LvUser);
303+
304+
//Run sync so files are written to disk.
305+
await RoboRIOConnection.RunCommand("sync", ConnectionUser.LvUser);
303306
}
304307

305308
/// <summary>

0 commit comments

Comments
 (0)