Sascha Rudolph
Sascha Rudolph

Reputation: 93

File Watcher in PhpStorm compiles too quick

How can I improve the File Watcher to compile a SCSS to CSS after I press Cmd + S (for save)?

The problem is that the File Watcher compiled the files too quick so sometimes results in an error, because I'm still writing the function or CSS tags. That causes a lots of trouble and takes so much time and to be honest, disturbs the workflow.

Upvotes: 2

Views: 1046

Answers (1)

lena
lena

Reputation: 93868

In file watcher settings, Advanced options, try clearing Auto-save edited files to trigger the watcher checkbox:

enter image description here

the watcher will be triggered on explicit CMD + S/moving focus from the IDE only

Upvotes: 7

Related Questions