stop-now
Ask running engines (lsp, cycles --fix, index, lint-all) to stand down cleanly, so an index can be rebuilt or an engine replaced.
Read this when you need to rebuild an index that running engines hold open, or replace a running engine: stop-now asks the running engines (lsp, cycles --fix, and the long index and lint-all runs) to close their stores and stand down, without killing them (only --force terminates an engine that does not answer). An index run stops between files with its database consistent and the same command resumes; the installer and build\stage-engine.ps1 use this channel first.
How to run it
drag-lint stop-now [--db <file.sqlite>]... [--wait <sec>] [--dry-run] [--force] (ask running engines to stand down: close every store, exit 0; `index` and `lint-all` runs exit 4)
Full flag list: stop-now in the CLI reference.
Flags
| Flag | Argument | Meaning | Default |
|---|---|---|---|
--db | <file.sqlite> | ||
--wait | <sec> | ||
--dry-run | |||
--force |
Where to click
No IDE surface: this feature runs from the CLI (see How to run it).