Jump to content

What does your GULP workflow look like? Care to share?


Recommended Posts

Posted

I wrote about my gulp experience here:

https://processwire.com/talk/topic/10101-grunt-gulp-something-else/?p=107725

I'm using PhpStorm and it has a feature to autostart certain tasks. I set it to load "watch" so starting up the IDE automatically loads all the tasks I need during development.

I'm not fan of installing softwares system-wide (being a portable application fan), so I figured out how to use Node without globally installing it. My npm modules are on a non-system partition D:\, and I symlink them in my projects.

post-3156-0-83859400-1450942180_thumb.pn

Imo web development is complex enough to use helpers like gulp to make things simpler. It has a small learning curve but then it saves a lot of time.

  • Like 2
Posted

It's been a while but i've used Gulp for the basic stuff:

  • watch source files (css, less, scss, js) for changes
  • run preprocessors or postcss
  • concatenate and minify
  • run autoprefixer
  • revision asset filenames for cachebusting

I never got further then copy/pasting from the web and then adjusting to my needs but you can get a lot done this way.

Gulp can do almost everything you can dream of but i would identify what tasks need automating the most, spend an hour/couple of hours and get to work.

  • Like 1
Posted

My npm modules are on a non-system partition D:\, and I symlink them in my projects.

...

Imo web development is complex enough to use helpers like gulp to make things simpler. It has a small learning curve but then it saves a lot of time.

I love your symlink idea!!!!

  • Like 1
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...