Updated watcher to use an array of patterns, added ignore pattern for JetBrains IDE temp files. Seems to work better, and is easier to extend in future