Use minimatch `dot` option so that changes in directories that start with a dot don't cause a rebuild

I currently have to use this long exclude string to exclude dirs that start with a `.`:

```
.*,.idea/*,.idea/**/*,dashboard/**/*,dashboard/.idea/*,dashboard/.idea/**/*,terminal/**/*,terminal/.idea/*,terminal/.idea/**/*,.git/*,.git/**/*,bin/**/*
```

This is because minimatch [doesn't match dirs that start with a dot](https://github.com/isaacs/minimatch#dot) unless you specify the `dot` option. With this change this becomes: `.*,dashboard/**/*,terminal/**/*,.git/*,.git/**/*,bin/**/*`

I understand if you don't want to merge this.