Timeline for Using Gulp JS in multiple theme development
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 6, 2015 at 11:54 | answer | added | Rick Bergmann | timeline score: 1 | |
Jan 20, 2015 at 14:15 | comment | added | Rick Bergmann | I have now and still no luck unfortunately, although I think it's getting close now as CWD is included in gulp. I found in gulp docs when setting the cwd they are going down from a root path, where I'm going up from libraries and then down into themes (I don't see how that would be a problem). I also tried the absolute path. I will keep fiddling and post the solution if I figure it out! Ref: github.com/gulpjs/gulp/blob/master/docs/recipes/… | |
Jan 19, 2015 at 16:35 | comment | added | Clive♦ |
Have you tried setting gulp.cwd(...) to /var/www/site_name/sites/all/themes ? I use grunt myself but I'm guessing (hoping) gulp has the same philosophy
|
|
Jan 19, 2015 at 14:04 | history | edited | Rick Bergmann | CC BY-SA 3.0 |
Specified problem more
|
Jan 19, 2015 at 13:55 | comment | added | Rick Bergmann | Thanks for your reply Clive. I thought it would be that simple too until I got the error as I explained in my edit. | |
Jan 19, 2015 at 13:55 | history | edited | Rick Bergmann | CC BY-SA 3.0 |
Specified the problem
|
Jan 19, 2015 at 10:50 | comment | added | Clive♦ | It's pretty simple, you just point the current working directory for individual tasks to whatever's relevant for the theme you're working on. Could you edit the question and provide details of exactly where you're stuck? And don't forget that the point of Gulp/Grunt is that they're project-centric - the second you need one tiny bit of functionality different for one individual theme, the whole system breaks down | |
Jan 19, 2015 at 10:46 | review | First posts | |||
Jan 19, 2015 at 10:58 | |||||
Jan 19, 2015 at 10:43 | history | asked | Rick Bergmann | CC BY-SA 3.0 |