Expand description
Server process management
This module provides PID file management for the HTTP server, enabling automatic process lifecycle management and fixing zsh background execution issues.
§Examples
use ruchy::server::PidFile;
use std::path::PathBuf;
let pid_file = PidFile::new(PathBuf::from("/tmp/ruchy.pid")).unwrap();
// Server runs...
// PID file automatically cleaned up on dropModules§
- watcher
- File watcher with debouncing for auto-restart
Structs§
- PidFile
- PID file manager with RAII cleanup