what this line does?
u srs, bro?
It makes yeoman server run both our server task and the grunt watch task.
but this line does exactly nothing,
First it define grunt.registerTask('server', 'yeoman-server watch')
Then the following grunt.registerTask('server', 'Launch a preview, LiveReload compatible server', function(target) immediately override it
plus I couldn't find any task called 'yeoman-server' because it registered nowhere!?
please inform me if I was wrong , thanks :P
Im guessing you guys was gonna define
grunt.registerTask('yeoman-server', 'Launch a preview, LiveReload compatible server', function(target)
if it was, theres a bug
You're right, it does nothing, was made moot in e3bf291#L0R194
But please, in the future, use your words.
Sorry, English isn't my main language. no offence, I think those words I expressed sounds not polite
Remove moot registerTask. Fixes #712
It's being overridden anyway.