hunk.code_window:   if (this.works === 'outsideProject' && this.isWithinProject) {
       return Promise.reject(new SilentError(
         'You cannot use the ' + chalk.green(this.name) + ' command inside an angular-cli project.'
       ));
     }
     if (this.works === 'insideProject') {
       if (!this.project.hasDependencies()) {
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:       'You cannot use the ' + chalk.green(this.name) + ' command inside an Angular CLI project.'
  
hunk.file_path: packages/@angular/cli/ember-cli/lib/models/command.js
hunk.type: replace
file: import {
    killAllProcesses,
    exec,
    waitForAnyProcessOutputToMatch,
    silentExecAndWaitForOutputToMatch
  } from '../../utils/process';
  import {appendToFile} from '../../utils/fs';
  
  const webpackGoodRegEx = /webpack: bundle is now VALID|webpack: Compiled successfully./;
  const webpackBadRegEx = /webpack: bundle is now INVALID|webpack: Compiling.../;
  
  export default function() {
    if (process.platform.startsWith('win')) {
      return Promise.resolve();
    }
  
    return silentExecAndWaitForOutputToMatch('ng', ['serve'], webpackGoodRegEx)
      // Should trigger a rebuild.
      .then(() => exec('touch', 'src/main.ts'))
      .then(() => waitForAnyProcessOutputToMatch(webpackBadRegEx, 1000))
      .then(() => waitForAnyProcessOutputToMatch(webpackGoodRegEx, 5000))
      .then(() => appendToFile('src/app/app.component.css', ':host { color: blue; }'))
      .then(() => waitForAnyProcessOutputToMatch(webpackBadRegEx, 1000))
      .then(() => waitForAnyProcessOutputToMatch(webpackGoodRegEx, 5000))
      .then(() => killAllProcesses(), (err: any) => {
        killAllProcesses();
        throw err;
      });
  }
  