title: how to run a gulp task after angular-cli@webpack finishes bundling?
body: <p>I am using angular-cli@webpack.</p>
  
  <p>I have configured my node services using gulp and to run my json-server I am executing my gulpfile:</p>
  
  <pre><code>var gulp = require('gulp');
  var gulpif = require('gulp-if');
  var server = require('gulp-express');
  var args = require('yargs').argv;
  var typescript=require('gulp-typescript');
  var sourcemaps = require('gulp-sourcemaps');
  var del = require('del');
  var tsconfig = typescript.createProject('src/tsconfig.json');
  
  gulp.task('default',function(){
      // Start the server at the beginning of the task 
      console.log('Start the server at the beginning of the task');
      server.run(['server/json-server-starter.js']);
  });
  </code></pre>
  
  <p>Now for running my angular2 project I am using <code>npm start</code> .</p>
  
  <p>I want to have a functionality that after angular-cli completes bundling of my app , json-server should be started.</p>
  
  <p>I have tried including below command in package.json :</p>
  
  <pre><code>"scripts": {
      "start": "ng serve &amp;&amp; gulp",
      "lint": "tslint \"src/**/*.ts\"",
      "test": "ng test",
      "pree2e": "webdriver-manager update",
      "e2e": "protractor"
  }
  </code></pre>
  
  <p>But it doesnt run the gulpfile after bundling the app.
  If I include <code>gulp</code> before <code>ng serve</code> then only <code>gulpfile</code> runs, webpack doesnt run the angular2 application.</p>
  
  <p>So is there any way I can run both tasks simultaneously?</p>
  
  <p>any inputs?</p>
  
  <p>thanks in advance.</p>