flovan / headstart

An automated front-end setup
https://flovan.me/headstart
MIT License
532 stars 31 forks source link

How to override gulpfile.js file? #44

Closed vitstr closed 10 years ago

vitstr commented 10 years ago

Hey, Flovan!

I want to change /usr/local/lib/node_modules/headstart/gulpfile.js the file. How do I override or supplement? Can you save the gulpfile.js file in your local project?

Thanks!

flovan commented 10 years ago

@vitstr it sound to me like you like certain parts of Headstart, but want to make custom changes, right? Here's how you can do just that:

Now you can run the tasks from the gulpfile through the regular gulp CLI! Headstart doesn't provide direct access to all of the individual task, but since you've eliminated the custom CLI, you can now run any task. Keep in mind that this thing was built as a whole, so you'd be safer to just run any of the default ones:

Unless you don't mind picking apart some things of course! :wink:

vitstr commented 10 years ago

@flovan yes, I want to make custom changes :)

It works, thanks for the answer :)

flovan commented 10 years ago

Allright, that's good to hear!