R
R
Rob1n Bobin2017-03-16 22:10:03
gulp.js
Rob1n Bobin, 2017-03-16 22:10:03

Does Gulp need a signal when a task is completed?

Hello, I started learning gulp.
In some sources, they write that the task must be completed with a callback, as one of the options.
In other sources, there is no word about the termination signal.
Everything works for me without callbacks.
How to proceed?
I suspect the 2nd source is more relevant.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Yarkov, 2017-03-16
@sp1rob

Mmm... Now I would like to guess links to sources =)
Callbacks are optional. Your sources don't lie.

A
Alexey, 2018-01-06
@tinyant

$url = '/lol/kuh/regeditom/pendol/';
$arr=expode('/', $url);

but if you want it with a regular expression, then something like this
preg_match_all('#([^/]+)#',$url,$match);
print_r($match);

4
4iloveg, 2018-01-06
@4iloveg

https://regex101.com/r/c8Alqv/1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question