Contents
Syntax
The syntax for the
nsm watch dir (content-extension) (template-path) (output-extension) nsm watch dir (content-extension) (template-path) (output-extension)
Description
The
When a build is run, any new files in a watched directory with the specified content extension will be tracked and built, and any files where the content file has been removed will be untracked.
Note: you can watch the same directory multiple times with different content extensions, and subdirectories are not included you must watch them separately.
Example
Example of
nift watch content nsm watch content/blog/posts ".md"