Task runner cant load tasks

Moving a Gulp file outside of your web root can cause visual studio too loose visibility and stop running your gulp taks.

To enable visual stuido to see your gulp task file

  • Go to Tools > Options > Projects and Solutions > External Web Tools
  • Reorder so that $(PATH) is above $(DevEnvDir)\Extensions\Microsoft\Web Tools\External

Thanks to the stack overflow post of this answer