I am using gulp. I want to run 'connect task after the 'build-dev' task has done.  

Here is what I wrote:

```
gulp.task('dev', [ 'build-dev' ], function() {
    return gulp.run([ 'connect' ]);
});

```

This causes a warning:

```
gulp.run() has been deprecated. Use task dependencies or gulp.watch task triggering instead.

```

How can I fix it?