From c209c2a664f21d3d38f3b9788077530290922261 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Tue, 16 Jan 2024 03:05:06 +0100 Subject: [PATCH] feat: Promote edit --watch to stable --- .../docs/reference/commands/edit.md | 22 ++++++++----------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/assets/chezmoi.io/docs/reference/commands/edit.md b/assets/chezmoi.io/docs/reference/commands/edit.md index 05680fa2299..8d85b690fcb 100644 --- a/assets/chezmoi.io/docs/reference/commands/edit.md +++ b/assets/chezmoi.io/docs/reference/commands/edit.md @@ -24,19 +24,15 @@ correctly. This is the default. ## `--watch` -Automatically apply changes when files are saved. - -!!! warning - - `--watch` is a beta feature with limitations. Known limitations include: - - * Only works when `chezmoi edit` is invoked with arguments (i.e. - argument-free `chezmoi edit` is not supported). - * All edited files are applied when any file is saved. - * Only the edited files are watched, not any dependent files (e.g. - `.chezmoitemplates` and `include`d files in templates are not watched). - * Only works on operating systems supported by - [fsnotify](https://github.com/fsnotify/fsnotify). +Automatically apply changes when files are saved, with the following limitations: + +* Only available when `chezmoi edit` is invoked with arguments (i.e. + argument-free `chezmoi edit` is not supported). +* All edited files are applied when any file is saved. +* Only the edited files are watched, not any dependent files (e.g. + `.chezmoitemplates` and `include`d files in templates are not watched). +* Only works on operating systems supported by + [fsnotify](https://github.com/fsnotify/fsnotify). !!! example