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

Create initial chokidar file watcher #1

Merged
merged 16 commits into from
Sep 28, 2021
Merged

Create initial chokidar file watcher #1

merged 16 commits into from
Sep 28, 2021

Conversation

rchl
Copy link
Member

@rchl rchl commented Jun 26, 2021

Depends on sublimelsp/LSP#1764

@rchl
Copy link
Member Author

rchl commented Jun 28, 2021

BTW. Something that is not great is that a new process is started for every single watcher that is created. It should be possible to handle all watchers within a single process. Just would need to implement communication through stdin which I'm always dreading...

@rchl rchl marked this pull request as ready for review September 22, 2021 19:34
@rchl
Copy link
Member Author

rchl commented Sep 23, 2021

For the record the updated implementation uses a single process for handling all watcher registrations. No matter how many language servers use watchers.

The possible downside is that this could more easily reach the limit of open file descriptors but we'll see...

@rchl rchl merged commit fcc90f0 into main Sep 28, 2021
@rchl rchl deleted the feat/initial branch September 28, 2021 13:23
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

Successfully merging this pull request may close these issues.

None yet

1 participant