brk_rolldown_watcher 0.2.1

brk fork of rolldown_watcher
Documentation
//! This crate provides a customized watcher functionalities for `rolldown`.
//! Notify is a low-level library. It's not easy to use it directly.

mod event;
mod event_handler;
mod noop_watcher;
mod paths_mut;
mod recommended_watcher;
mod utils;
mod watcher;
mod watcher_config;
mod watcher_ext;

#[cfg(not(target_family = "wasm"))]
mod poll_watcher;
#[cfg(not(target_family = "wasm"))]
pub use poll_watcher::PollWatcher;

#[cfg(not(target_family = "wasm"))]
mod debounced_poll_watcher;
#[cfg(not(target_family = "wasm"))]
pub use debounced_poll_watcher::DebouncedPollWatcher;

#[cfg(not(target_family = "wasm"))]
mod debounced_recommended_watcher;
#[cfg(not(target_family = "wasm"))]
pub use debounced_recommended_watcher::DebouncedRecommendedWatcher;

pub use crate::{event::EventResult as FileChangeResult, event_handler::EventHandler};
pub use noop_watcher::NoopWatcher;
pub use notify::RecursiveMode;
pub use paths_mut::PathsMut;
pub use recommended_watcher::RecommendedWatcher;
pub use watcher_config::WatcherConfig;
pub use {watcher::Watcher, watcher_ext::WatcherExt};

pub type DynWatcher = Box<dyn Watcher + Send + 'static>;