Commit Graph

4 Commits

Author SHA1 Message Date
Cameron Diver
a7399fd78b Use lstat rather than stat to avoid error with symlinks in sync
Change-type: patch
Closes: #1301
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-06 09:59:23 +01:00
Cameron Diver
4f2a534075 Clear changed files after successful livepush invocation
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-14 10:50:05 +01:00
Cameron Diver
6dda0efa1f Don't sync test files with livepush
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-08 08:41:46 +01:00
Cameron Diver
8ab63656bd Update synchronisation scripts for supervisor development
We move the old sync.js script to tools/, and delete the now-broken
sync-debug.js.

We add a command `npm run sync`, which starts a livepush process
with the supervisor on a device.

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-04-06 13:05:38 +01:00