I am using Visual Studio 2015, and I have a problem using gulp and Task Runner Explorer
.
Basically my folder structure is
- Projects
- Project
- gulpfile.js
- src
- scripts
When opening in VS 2015 folder Projects
(Open Web Site) I cannot see any tasks in Task Runner Explorer
.
Note gulpfile.js
is not in the root but within Projects
folder
Using instead:
- Projects
- gulpfile.js
- src
- scripts
I can see tasks in Task Runner Explorer
.
Note gulpfile.js
is in the root.
Gulp is installed and works fine using the console.
// include gulp
var gulp = require('gulp');
// include plug-ins
var jshint = require('gulp-jshint');
// JS hint task
gulp.task('jshint', function() {
gulp.src('./src/scripts/*.js')
.pipe(jshint())
.pipe(jshint.reporter('default'));
});
This my setup:
Visual Studio 2015 V 14.0.23
Web Essentials V 2015.0.5
Gulp V 3.9.0
Gulp CLI V 3.8.11
I have no issue in output window and I see only this message in Task Runner Explorer:
No task runner configuration were found
How can I make appears my tasks in Task Runner Explorer? What could be the issue?