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

Watch Git's lockfile for safer updates #49

Open
thomaswilburn opened this issue Aug 16, 2021 · 0 comments
Open

Watch Git's lockfile for safer updates #49

thomaswilburn opened this issue Aug 16, 2021 · 0 comments

Comments

@thomaswilburn
Copy link
Contributor

When a repo gets pulled, especially if there's a rebase going on and there's a graphic page loaded, it's possible to crash the rig while it tries to access watched files that aren't available temporarily. We also don't watch the .git directory, since we don't want to bog that down. However, if we watch .git/index.lock, we can pause the live reload during Git operations, and then resume once it's done, we just have to work out how to add that watcher without monitoring the entire directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant