reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

lsp_file_watch

reqlan rq/extension/language/support/initialisation-and-sequencing.rq:4

Katz 0.085

The language server must register workspace file watchers for `.rq` files only.
It must not register a recursive all-files watcher.
Watched-file events whose path contains a `node_modules`, `.git`, `.reqlan`, `out`, or `dist` segment must not start a document rebuild.
Directory URIs without a trailing slash, Windows paths, and percent-encoded URIs must use the same segment rules.
A kept `.rq` change replaces that buffer's model when the text changed ( ast_lifecycle ).
Related: language_server, index_file_search_coalesce, open_file_algorithm.

implementation
reqlan-document-update-handler.ts, reqlan-module.ts
status
done
tests
document-update-watch.test.ts, document-update-watch.test.ts:registers .rq globs only, document-update-watch.test.ts:classifies Windows and directory URIs by path segment, document-update-watch.test.ts:drops noisy events and keeps .rq files, ast-lifecycle.test.ts:replaces the AST when this buffer text changes

Interactive page: lsp_file_watch