forked from FuelLabs/sway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make dir watcher use std::thread instead of async (FuelLabs#4658)
## Description This PR changes how we are watching for directory changes in the language server. Previously we were using tokio, this has now been changed to use a regular thread and `std::mpsc::channel`. We are about to move away from an `async` framework in the language server so this is a small effort towards removing reliance on tokio.
- Loading branch information
1 parent
c1186df
commit 060f276
Showing
3 changed files
with
28 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters