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

Change to different gulpfile #51

Closed danprime closed 8 years ago

danprime commented 8 years ago

If a project has multiple subfolders with their own gulpfiles.

/Project/
     /subfolder_1/gulpfile.js
     /subfolder_2/gulpfile.js
     /subfolder_3/gulpfile.js

How can you change to a different gulp file? I've added all the subfolder paths so that when I first run gulp list tasks it asks me which gulpfile I want to run, but now I can't seem to change it to run a different gulpfile. I tried deleting the cache but that just rebuilds the task list from the gulpfile I already selected (I thought it would ask me which gulpfile I want to run).

nicosantangelo commented 8 years ago

It should ask you for a gulpfile each time!

I think the problem is that you've added the gulpfile_paths setting to the Default Gulp settings, which are overwritten by Sublime.

Please check if your Preferences -> Package Settings -> Gulp -> Settings - User file still has the gulpfile_paths key

danprime commented 8 years ago

You're right, my mistake. I set it in the default settings.