Skip to content

Instantly share code, notes, and snippets.

@sleeper
Created December 18, 2012 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sleeper/4327664 to your computer and use it in GitHub Desktop.
Save sleeper/4327664 to your computer and use it in GitHub Desktop.

Purpose

Dependencies

gaze

Configuration

regarde: {
  html: {
    files: '**/*.html',
    tasks: ['rev', 'jshint'],
    spawn: false, // default -- do not spawn sub-process for tasks
  },
  css: {
    files: '**/*.scss',
    events: true  // do not launch tasks, send events
  }
}
  • 1st example (regarde:html) will launch the tasks when file are modified, without spawning a sub-process
  • 2nd example (regarde:css) will not call any tasks, but instead send events with the list of modified files (file:changed, file:added, file:deleted)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment