hunk.code_window:         commands: this.commands,
           tasks: this.tasks
         });
         this.ui.writeLine(command.printBasicHelp(commandOptions));
       });
     }
   });
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:       if (rawArgs.length > 0) {
           if (cmd === rawArgs[0]) {
             this.ui.writeLine(command.printDetailedHelp(commandOptions));
           }
         } else {
           this.ui.writeLine(command.printBasicHelp(commandOptions));
         }
  
hunk.file_path: packages/angular-cli/commands/help.ts
hunk.type: replace
file: import * as rimraf from 'rimraf';
  import * as path from 'path';
  const Task = require('ember-cli/lib/models/task');
  import * as webpack from 'webpack';
  const ProgressPlugin = require('webpack/lib/ProgressPlugin');
  import { NgCliWebpackConfig } from '../models/webpack-config';
  import { webpackOutputOptions } from '../models/';
  import { BuildOptions } from '../commands/build';
  
  let lastHash: any = null;
  
  export default Task.extend({
    run: function(runTaskOptions: BuildOptions) {
  
      const project = this.cliProject;
  
      rimraf.sync(path.resolve(project.root, runTaskOptions.outputPath));
  
      const config = new NgCliWebpackConfig(
        project,
        runTaskOptions.target,
        runTaskOptions.environment,
        runTaskOptions.outputPath,
        runTaskOptions.baseHref,
        runTaskOptions.aot
      ).config;
      const webpackCompiler: any = webpack(config);
  
      webpackCompiler.apply(new ProgressPlugin({
        profile: true
      }));
  
      return new Promise((resolve, reject) => {
        webpackCompiler.watch({}, (err: any, stats: any) => {
          if (err) {
            lastHash = null;
            console.error(err.stack || err);
            if (err.details) { console.error(err.details); }
              reject(err.details);
          }
  
          if (stats.hash !== lastHash) {
            lastHash = stats.hash;
            process.stdout.write(stats.toString(webpackOutputOptions) + '\n');
          }
        });
      });
    }
  });
  