Emrys Myrooin
Emrys Myrooin

Reputation: 2231

How to trigger file watcher on a entire directory in Webstorm

I'm using Webstorm file watcher to compile my CoffeeScript.

My problem is that I have refactored the strutcure of my project's files.

Can I remove all files in /bin directory and tell to webstorm to apply his file watcher compile command on all .coffee files in a directory ? Because I don't want to open, modify and redo modification each file only for getting the compiled javascrit...

Upvotes: 3

Views: 2755

Answers (1)

lena
lena

Reputation: 93898

Yes, you can use 'Run file watchers' command to trigger a watcher for selected folder/project: just select a folder/project root, hit Ctrl+Shift+A -> type "run file " -> choose Run File Watchers.... You can assign custom shortcut for "Plugins | File Watchers | Run File Watchers" action in Settings | Keymap to make this procedure less complicated.

Upvotes: 13

Related Questions