File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1+ /* jshint node: true */
12var globby = require ( "globby" ) ;
23var resolve = require ( "resolve" ) ;
34var argv = require ( "yargs" )
@@ -115,7 +116,7 @@ var postcss = require('postcss');
115116var processor = postcss ( plugins ) ;
116117
117118// hook for dynamically updating the list of watched files
118- global . watchCSS = function ( ) { } ; // jshint ignore:line
119+ global . watchCSS = function ( ) { } ;
119120if ( argv . watch ) {
120121 var watchedFiles = inputFiles ;
121122 var watcher = require ( 'chokidar' ) . watch ( watchedFiles ) ;
@@ -125,7 +126,7 @@ if (argv.watch) {
125126 } ) ;
126127 } ) ;
127128
128- global . watchCSS = function ( files ) { // jshint ignore:line
129+ global . watchCSS = function ( files ) {
129130 watcher . unwatch ( watchedFiles ) ;
130131 watcher . add ( files ) ;
131132 watchedFiles = files ;
You can’t perform that action at this time.
0 commit comments