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

Add an event buffer for watch #313

Closed
autarch opened this issue Feb 4, 2022 · 2 comments
Closed

Add an event buffer for watch #313

autarch opened this issue Feb 4, 2022 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@autarch
Copy link

autarch commented Feb 4, 2022

I'm using Emacs as my IDE and for some reason it modifies each file twice on save. I have no idea why.

When using trunk this causes it to restart the build twice in quick succession. This is a bit annoying since it's hard to follow the output and see what triggered the change and also makes it harder to clearly find the latest build output.

It'd be nice if there was a configurable event buffer for the watcher. It could default to 0 to preserve the existing behavior. If it was non-zero, it would wait that long before doing anything to catch multiple events.

@autarch autarch changed the title Add a duplicate event buffer for watch Add an event buffer for watch Feb 4, 2022
@lukechu10
Copy link
Contributor

Duplicate of #238

@dnaka91 dnaka91 added the duplicate This issue or pull request already exists label Apr 12, 2022
@dnaka91
Copy link
Contributor

dnaka91 commented Apr 12, 2022

Closed as duplicate.

@dnaka91 dnaka91 closed this as completed Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants