Watch mode builds the entire site once when started and will rebuild pages when they change. If you add or edit a file the begins with a _ (used to denote a layout or partial) the watcher will rebuild all pages in your site.

Any pages you ignore while running the watcher will build, but with a warning. Due to this limitation it is preferable to use the Acetate server in development.

Module: acetate/lib/modes/watcher;

var Acetate = require('acetate');
var watch = require('acetate/lib/modes/watcher');

var acetate = new Acetate({
  // options

var watcher = watch(acetate);

// call watcher.stop() to stop watching files.

Edit this Page on GitHub