Skip to content

Commit

Permalink
Implement text from @paulirish when the watch task is run
Browse files Browse the repository at this point in the history
And let the watch task run.

Fixes #529
  • Loading branch information
sindresorhus committed Sep 24, 2012
1 parent 2895d1b commit 2d6fec9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cli/bin/yeoman
Expand Up @@ -70,11 +70,11 @@ function init() {
yeoman.generators.prepare(grunt);
}

// Inform users to run `server` instead of `watch`
// Advice users to run `server` instead of `watch`
if ( /^watch/.test( route ) ) {
return console.log('\nYeoman`s watch task is integrated within `yeoman server` to combine\n\
the dev server, re-compilation and live reloading of changed assets.\n\n\
Feel free to run ' + 'yeoman'.bold.red + ' ' + 'server'.bold.yellow + ' instead!');
console.log(('\nFYI: Yeoman`s watch task is integrated within ' +
'yeoman server'.bold + ' to combine the dev server, re-compilation and ' +
'live reloading of changed assets.\n\nContinuing anyway...\n').yellow);
}

// a bower command
Expand Down

0 comments on commit 2d6fec9

Please sign in to comment.