Add configurable list to ignore files in server watch
authorbep <bjorn.erik.pedersen@gmail.com>
Wed, 3 Jun 2015 11:37:57 +0000 (13:37 +0200)
committerbep <bjorn.erik.pedersen@gmail.com>
Wed, 3 Jun 2015 11:38:05 +0000 (13:38 +0200)
commitbed227886be3abacb7beb14c40b88139193114de
treecf4ef91ab7a80d82408782bd86bc8583cdefdbfc
parentcc5d63c37ae0b7387864a81b4ae6e0fc2895f8a3
Add configurable list to ignore files in server watch

The following inside `config.toml` will ignore files ending with `.foo` and `.boo`.

```
watchIgnoreFiles = [ "\\.foo$", "\\.boo$" ]
```

The above is is a list of Reqular Expressions, but note the escaping of the `\` to make TOML happy.

Fixes #1189
source/filesystem.go