Skip to content

Commit

Permalink
Merge pull request #1202 from rollup/gh-1082
Browse files Browse the repository at this point in the history
change recommendation to local installation of rollup-watch
  • Loading branch information
Rich-Harris committed Dec 30, 2016
2 parents c597b91 + 532dff1 commit 11a2830
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/src/handleError.js
Expand Up @@ -38,7 +38,7 @@ const handlers = {
},

ROLLUP_WATCH_NOT_INSTALLED: () => {
stderr( chalk.red( 'rollup --watch depends on the rollup-watch package, which could not be found. You can install it globally (recommended) with ' ) + chalk.cyan( 'npm install -g rollup-watch' ) );
stderr( chalk.red( 'rollup --watch depends on the rollup-watch package, which could not be found. Install it with ' ) + chalk.cyan( 'npm install -D rollup-watch' ) );
},

WATCHER_MISSING_INPUT_OR_OUTPUT: () => {
Expand Down
2 changes: 1 addition & 1 deletion bin/src/runRollup.js
Expand Up @@ -193,7 +193,7 @@ function execute ( options, command ) {

watcher.on( 'event', event => {
switch ( event.code ) {
case 'STARTING':
case 'STARTING': // TODO this isn't emitted by newer versions of rollup-watch
stderr( 'checking rollup-watch version...' );
break;

Expand Down

0 comments on commit 11a2830

Please sign in to comment.