Most often plugins will be placed between src and dest using the. The additional files will only be available to transformations later in the stream. If globs overlap , the files will be added again.
Ask Question. Asked 6 years, 7 months ago. Active 5 years, 5 months ago. Viewed 42k times. Example psuedo-psuedo-code gulp. Improve this question. OpherV OpherV 6, 4 4 gold badges 33 33 silver badges 54 54 bronze badges. What I'm trying to do is exactly what is I asked about.
The pipe sources will undergo some sort of transformation that is affected by the file I'm trying to read. Your assumption is wrong and quite frankly disappointing. If there's a specific part of the documentation you think is relevant to my question I'd appreciate if provide a link to it. Otherwise your comment is unhelpful and condescending.
You're being strangely vague about the 'sort of transformation' : Depending on the transformation there might be a gulp plugin that does exactly what you want. We accomplish this with watch method; it comes as a standard part of the Gulp so there is no need for loading a new module.
We have, however, to import the keyword in gulpfile. Our final task is to set up live reload on the browser. After that, we can integrate all the tasks into an efficient workflow. Go back to the browser to find that the page has reloaded with the new style. Then export a default object.
We can combine series and parallel to build a complete pipeline:. Continuous Integration CI is the perfect complement for Gulp. CI runs our Gulp tasks in a clean, fast environment and gives us immediate feedback when something goes wrong.
Gulp can be used to automatize a great number of menial tasks that are common during development. You should be able to use the final gulpfile. What makes Gulp different from Grunt for example, is the approach of piping of input and output which may result in faster execution depending on your code, and preference of code over convention, which can make configuration files easier to read and understand.
Have a comment? Join the discussion on the forum. Search for:. Introduction Gulp is a command-line task runner for Node. You will learn: How to set up an automated workflow. It will continuously watch for changes until we stop it type Command-C. Of course this is a very simple makeup of a gulpfile. However, this basic setup will get you some of the simple benefits of Gulp without being too overwhelming.
November 11, Developers. Join the Discussion Cancel Reply Your email address will not be published. Search for:. This website uses cookies to improve your experience. Close Privacy Overview This website uses cookies to improve your experience while you navigate through the website.
0コメント