From 1c909059a4850df88e7561719a4a3ef457f3f6bd Mon Sep 17 00:00:00 2001 From: Eddie Monge Date: Wed, 15 Jan 2014 12:57:55 -0800 Subject: [PATCH] bug(build): deprecated grunt server didnt pass in target Even though this method is deprecated, it should still work correctly --- templates/common/Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/common/Gruntfile.js b/templates/common/Gruntfile.js index 32ba32ec3..d1e7b8b9a 100644 --- a/templates/common/Gruntfile.js +++ b/templates/common/Gruntfile.js @@ -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', [