When you just run gulp in your console, it will look for the default job to run. You have defined only live-server and serve as tasks.
To solve the default task, you can add the task that you really want to run, as a dependency, for example:
gulp.task( 'default', [ 'serve' ] )
Now, if you run gulp , it will run the default task, which in turn will run the serve task. Alternatively, you can just run gulp serve , and it will also work.
source share