Making gulp sync from async solved all problems