use proper way of doing synchronous tasks in gulp