NAME
qgoda watch - Build a qgoda site and watch for changes
SYNOPSIS
qgoda watch [<global options>] [--drafts][--future][--dry-run][--help]
Try 'qgoda --help' for a description of global options.
DESCRIPTION
Does exactly the same as `qgoda build` but does not terminate (hit CTRL-C or close the terminal window instead).
If the initial build was successful, the program monitors the file system and starts a new build, whenever an input file was modified, deleted or created. Subsequent build failures are not fatal.
Whenever a build was finished, successful or not, the number of seconds elapsed since the epoch are written into the file _timestamp. This can be used as a trigger to reload pages in the browser, restart a service, or similar.
OPTIONS
- -D, --drafts
-
Process draft documents (documents with the draft property set)
- -F, --future
-
Process documents with a date (date property) in the future
- --dry-run
-
Just print what would be done but do not write any files.
- -h, --help
-
Show this help page and exit.
SEE ALSO
Qgoda::Command::Build, qgoda(1)
QGODA
Part of Qgoda.