Permalink
Browse files

Implement text from @paulirish when the watch task is run

And let the watch task run.

Fixes #529
  • Loading branch information...
1 parent 18c030c commit c539e87c1bc22c096c01efb48e9af6195e911b0a @sindresorhus sindresorhus committed Sep 24, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 cli/bin/yeoman
View
@@ -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

0 comments on commit c539e87

Please sign in to comment.