[][src]Module quickmd::background

Background monitoring for file-changes.

Whenever a file changes, we want to regenerate the HTML and send it to the UI for rendering to the user. This is done with the init_update_loop function.

Traits

Sender

A common trait for glib::Sender and std::mpsc::Sender.

Functions

init_update_loop

The main background worker. Spawns a thread and uses the notify crate to listen for file changes.