lib/cli.js
function spinner(silent) {
      var interval = 100
        , frames = spinner.frames
        , len = frames.length
        , i = 0;

      if (silent) return;

      spinner.interval = setInterval(function tick() {
        process.stdout.write(
            '\r'
          + frames[i++ % len]
          + 'Waiting for file changes'.white
        );
      }, interval);
    }
function spinner(silent) {
      var interval = 100
        , frames = spinner.frames
        , len = frames.length
        , i = 0;

      if (silent) return;

      spinner.interval = setInterval(function tick() {
        process.stdout.write(
            '\r'
          + frames[i++ % len]
          + 'Waiting for file changes'.white
        );
      }, interval);
    }
function spinner ( silent ) { var interval = 100 , frames = spinner . frames , len = frames . length , i = 0 ; if ( silent ) return ; spinner . interval = setInterval ( function tick ( ) { process . stdout . write ( '\r' + frames [ i ++ % len ] + 'Waiting for file changes' . white ) ; } , interval ) ; }
Display a spinner in the terminal the the users receive feedback
and know that we are watching their files for changes.

@param {Boolean} silent no logging output
@api private
Display a spinner in the terminal the the users receive feedback and know that we are watching their files for changes .