nicosantangelo / sublime-gulp

Run Gulp tasks and use snippets from Sublime Text
https://sublime-gulp.nicosantangelo.com/
MIT License
155 stars 18 forks source link

Not sure if it's an issue #19

Closed alanontheweb closed 9 years ago

alanontheweb commented 9 years ago

Hi, I had this plugin working just fine and then I made some big configuration changes to my gulpfile.js. Using the terminal I can still run gulp tasks no problem, but now when I run the Gulp command from Sublime, it doesn't display the dropdown menu with my tasks. I have commented out most of the file to just 1 basic task and it's still not working.

Under the sublime-gulp.cache, this is what I see - {"/Users/USER/Documents/Projects/Classrooms/gulpfile.js":{"sha1":"675f25c0b61304bbe9012c70bcf78ca34459707","tasks":{}}}

It doesn't generate an error log either.

Thoughts?

nicosantangelo commented 9 years ago

Huuum, are you defining gulp as a local variable inside of your gulpfile? Like this:

var gulp = require('gulp');

If that's not it and it's not a problem, post your gulpfile so I can try it locally :)

alanontheweb commented 9 years ago

I sorted it out. There was a comment at the very bottom that was breaking it. Kind of weird, but it works now! Thanks again =)

nicosantangelo commented 9 years ago

Wow that's weird. Sorry I didn't help more, thanks for letting me know!

If it happens again I can put some explanation on the README :)