Bjornej / GruntLauncher

A vspackage that adds the possibility to launch Grunt tasks
MIT License
40 stars 11 forks source link

Gulp: Cannot parse gulpfile :( #42

Open sinedied opened 9 years ago

sinedied commented 9 years ago

When I right click on my gulpfile.js, the context submenu show, with the first 'gulp' task, the second being 'Gulp: Cannot parse gulpfile ' :-(

The first default gulp tasks works, but I don't know what is wrong in my gulpfile since I have no trace of the exception that was raised during the parsing. The gulp tasks works perfectly from command line.

Here is my gulpfile: https://gist.github.com/sinedied/532ae51f84a5f8fb8fb1

Thanks for your help.

Bjornej commented 9 years ago

Hi! sorry for the problem and the delay. I've seen the gulpfile and the problem is in the line

var $ = require('gulp-load-plugins')();

and then

$.jasmineLivereloadTask

as the plugin tries to parse the file he is unable to understand this syntax. If you explictly require the task does it work?