简体   繁体   English

PhpStorm中的File Watcher编译太快

[英]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)? Cmd + S (用于保存)后,如何改进File Watcher将SCSS编译为CSS?

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. 问题在于File Watcher编译文件的速度过快,因此有时会导致错误,因为我仍在编写函数或CSS标记。 That causes a lots of trouble and takes so much time and to be honest, disturbs the workflow. 这会造成很多麻烦,并且要花费大量时间,老实说,这会干扰工作流程。

In file watcher settings, Advanced options , try clearing Auto-save edited files to trigger the watcher checkbox: 在文件监视程序设置的高级选项中 ,尝试清除自动保存编辑的文件以触发监视程序复选框:

在此处输入图片说明

the watcher will be triggered on explicit CMD + S /moving focus from the IDE only 观察者将在明确的CMD + S /仅从IDE移动焦点时触发

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM