grunt-clear

0.2.1 • Public • Published

grunt-clear

Clears your command line. Automate all the things.

Getting Started

Install this grunt plugin next to your project's Gruntfile with: npm install grunt-clear

Then add this line to your project's Gruntfile:

grunt.loadNpmTasks('grunt-clear');

Documentation

Turn your console output into a live dashboard by clearing it before displaying new results. Add this task as the first item of your watch task:

watch: {
  clear: {
    //clear terminal on any watch task. beauty.
    files: ['**/*'], //or be more specific
    tasks: ['clear']
  }
}

The watch task will run things in order, so make sure clear is very first otherwise your console will clear the output of other tasks you are probably interested in.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Todo

Write tests Make sure it works on linux Do screencast

License

Copyright (c) 2012 Dave Geddes
Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i grunt-clear

Weekly Downloads

221

Version

0.2.1

License

none

Last publish

Collaborators

  • geddski