Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchrotron stops watching after locking computer #4

Open
AJLemos opened this issue Feb 27, 2020 · 0 comments
Open

Synchrotron stops watching after locking computer #4

AJLemos opened this issue Feb 27, 2020 · 0 comments
Labels

Comments

@AJLemos
Copy link

AJLemos commented Feb 27, 2020

After modifying a large number of files (such as a JS/CSS build) followed by a sync, if I lock my computer while the build is running (before sync starts) synchrotron stalls (as in no longer watches changes) on the last file that needed to be synced. Steps:

  • Build & syncing grunt && sync-sandbox-*
  • Lock my computer to go to a meeting, make tea, etc.
  • Wake up my computer
  • Sync is stalled at some file like: > Some/File.php (it appears this is the last file that needed to be synced after the build completed)
  • Modifying a file that is being watched does not sync the file and debug mode shows Chokidar event: change Some/OtherFile.php
  • Restarting sync correctly syncs the latest changes to Some/OtherFile.php and correctly starts watching for more:
...
Syncing [ '.' ]
> Some/OtherFile.php
rsync exited with code 0
✔ 1:35:33 PM Synced 1 item to [email protected]:/home/aj/mysite/
==> Watching for changes in /Users/aj/Sites/mysite
@rgrove rgrove added the bug label Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants