mirror of
https://github.com/sxyazi/yazi.git
synced 2026-05-13 08:16:40 +00:00
fix: ensure cargo-deb picks up the right build artifacts (#3720)
This commit is contained in:
parent
9eb4d03a44
commit
05aeae3b09
6 changed files with 46 additions and 40 deletions
|
|
@ -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())
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue