I am using a gulp webserver in combination with a nodejs to test my api. 
They are both within the same directory, so as soon as my mock-data changes, gulp performs a livereload. 
I wanted to add filters to the livereload.
Adding my first filter worked just fine, but with two it doesn't reload ever. 

```
gulp.task('webserver',['watch:js', 'watch:sass', 'watch:html'], function() {
  gulp.src('./')
    .pipe(server({
      defaultFile: "dist/app.component.html",
      livereload:  {
        enable: true,
        filter: function(fileName){
         if (!(fileName.match(/.git/) | fileName.match(/.nodejs_srv/))) {

                        return true;

                    } else {

                        return false;

                    }
      }},
      open: true
    }));
});

```

Edited filter function:

```
function(filePath, cb) {
          cb( !(/.git/.test(filePath)) );
      }}

```

I don't know how to add fitlers to this, newbe over here.