Skip to content

Commit

Permalink
bug(build): deprecated grunt server didnt pass in target
Browse files Browse the repository at this point in the history
Even though this method is deprecated, it should still work correctly
  • Loading branch information
eddiemonge committed Jan 15, 2014
1 parent 3522514 commit 1c90905
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/common/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,9 @@ module.exports = function (grunt) {
]);
});

grunt.registerTask('server', function () {
grunt.registerTask('server', function (target) {
grunt.log.warn('The `server` task has been deprecated. Use `grunt serve` to start a server.');
grunt.task.run(['serve']);
grunt.task.run(['serve:' + target]);
});

grunt.registerTask('test', [
Expand Down

0 comments on commit 1c90905

Please sign in to comment.