mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-08-03 01:42:14 +00:00
dev: increase revision for compile request (#435)
This commit is contained in:
parent
755979f2bb
commit
bb9ba23b3e
1 changed files with 6 additions and 1 deletions
|
@ -600,7 +600,12 @@ impl<F: CompilerFeat + Send + Sync + 'static> CompileServerActor<F> {
|
|||
use CompilerResponse::*;
|
||||
|
||||
match event {
|
||||
Interrupt::Compile => reason_by_entry_change(),
|
||||
Interrupt::Compile => {
|
||||
// Increment the revision anyway.
|
||||
self.verse.increment_revision(|_| {});
|
||||
|
||||
reason_by_entry_change()
|
||||
}
|
||||
Interrupt::Snapshot(task) => {
|
||||
log::debug!("CompileServerActor: take snapshot");
|
||||
if self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue