mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-30 06:02:00 +02:00
Dir sync filesystem watching
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use crate::commands::{apply, calculate};
|
||||
use crate::commands::{apply, calculate, watch};
|
||||
use tauri::{
|
||||
generate_handler,
|
||||
plugin::{Builder, TauriPlugin},
|
||||
@@ -9,7 +9,8 @@ mod commands;
|
||||
mod error;
|
||||
mod models;
|
||||
mod sync;
|
||||
mod watch;
|
||||
|
||||
pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
||||
Builder::new("yaak-sync").invoke_handler(generate_handler![calculate, apply]).build()
|
||||
Builder::new("yaak-sync").invoke_handler(generate_handler![calculate, apply, watch]).build()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user