frame-cli 0.4.0

CLI for Frame — six intention-verbs over one application: frame new scaffolds it, frame run serves it, frame dev hot-reloads it against the running node, frame test proves it (real browser included), frame check verifies it statically, frame doctor walks the prerequisites
Documentation
1
2
3
4
5
6
7
8
9
// ATTACK: a sleep-then-check watcher dressed as a helper.
fn wait_for_changes(root: &std::path::Path) {
    loop {
        std::thread::sleep(std::time::Duration::from_millis(100));
        if root.join("src").exists() {
            rebuild();
        }
    }
}