title: Use Visual Studio Code Tasks with Gulp 4.0
body: <p>I am in the process of switching a project from Gulp 3.9.1 (npm install gulp) to Gulp 4.0 (npm install gulp-4.0.build), but when I do this, Visual Studio Code is no longer able to auto-detect the tasks in my gulpfile.js. In both cases, gulp is installed locally.</p>
  
  <p>My .vscode/tasks.json looks like:</p>
  
  <pre><code>{
      "version": "0.1.0",
      "command": "gulp",
      "isShellCommand": true,
      "showOutput": "always"
  }
  </code></pre>
  
  <p>Looking at the Tasks output, I see the following message:</p>
  
  <blockquote>
    <p>Running gulp --tasks-simple didn't list any tasks. Did you run npm install?</p>
  </blockquote>
  
  <p>Can you use Gulp 4.0 with VS Code and have it autodetect the tasks? If so, what steps do I need to follow to get it setup?</p>