Typically, the VS code automatically defines the gulp task.
As you can see in this doc
By pressing F1 , then type Run task , and then Enter, it will display all available tasks. By selecting one and pressing Enter, you are Task.
hope this helps
source
share