File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ Run `yo angular`, optionally passing an app name:
2222yo angular [app-name]
2323```
2424
25+ Run `grunt` for building and `grunt serve` for preview
26+
27+
2528## Generators
2629
2730Available generators:
Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ module.exports = function (grunt) {
327327 }
328328 });
329329
330- grunt.registerTask('server ', function (target) {
330+ grunt.registerTask('serve ', function (target) {
331331 if (target === 'dist') {
332332 return grunt.task.run(['build', 'connect:dist:keepalive']);
333333 }
@@ -341,6 +341,11 @@ module.exports = function (grunt) {
341341 ]);
342342 });
343343
344+ grunt.registerTask('server', function () {
345+ grunt.log.warn('The `server` task has been deprecated. Use `grunt serve` to start a server.');
346+ grunt.task.run(['serve']);
347+ });
348+
344349 grunt.registerTask('test', [
345350 'clean:server',
346351 'concurrent:test',
You can’t perform that action at this time.
0 commit comments