fix: ensure cargo-deb picks up the right build artifacts (#3720)

This commit is contained in:
三咲雅 misaki masa 2026-02-26 14:18:00 +08:00 committed by GitHub
parent 9eb4d03a44
commit 05aeae3b09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 46 additions and 40 deletions

View file

@ -14,6 +14,7 @@ impl Backend {
#[cfg(any(target_os = "linux", target_os = "macos"))]
yazi_fs::mounts::Partitions::monitor(&yazi_fs::mounts::PARTITIONS, || {
yazi_proxy::MgrProxy::watch();
yazi_proxy::MgrProxy::refresh();
yazi_macro::err!(yazi_dds::Pubsub::pub_after_mount())
});

View file

@ -20,7 +20,7 @@ impl Local {
pub(crate) fn serve(rx: mpsc::UnboundedReceiver<UrlBuf>, reporter: Reporter) -> Self {
tokio::spawn(Self::changed(rx));
let config = notify::Config::default().with_poll_interval(Duration::from_millis(500));
let config = notify::Config::default().with_poll_interval(Duration::from_secs(1));
let handler = move |res: Result<notify::Event>| {
if let Ok(event) = res
&& !event.kind.is_access()