You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example creating a index.dev.html containing the developerconsole
vardeveloperconsole=require("gulp-developerconsole")({"reports": {"jasmine": "reports/jasmine.json","jshint": "reports/jshint.json"}});// Lint Taskgulp.task("lint",function(){gulp.src("javascripts/src/**/*.js").pipe(jshint()).pipe(developerconsole.jshintReporter());// JSHint reporter from gulp-developerconsole});// Jasmine Taskgulp.task("test",function(){gulp.src("javascripts/spec/**/*.js").pipe(jasmine({"reporter": developerconsole.jasmineReporter()// Jasmine reporter from gulp-developerconsole}));});// Add Developer Console to Our HTMLgulp.task("html",function(){gulp.src("index.html").pipe(rename("index.dev.html")).pipe(developerconsole.consoleInjector())// Console from gulp-developerconsole.pipe(gulp.dest("."));});gulp.task("watch",function(){gulp.run("lint","test","html");// Watch For Changes To Our JSgulp.watch("javascripts/**/*.js",function(){gulp.run("lint","test");});// Watch For Changes To Our HTMLgulp.watch("index.html",function(){gulp.run("html");});});