设置phpstorm sass监听器
2015-10-14 15:57
603 查看
Creating a File Watcher
PhpStorm provides a common procedure and user interface for creating File Watchers of all types. The only difference is in the predefined templates you choose in each case.Make sure the File Watchers plugin is enabled. The plugin is bundled with PhpStorm and activated by default. If it is not, enable the plugin. See Enabling and Disabling Plugins for details.
To start creating a File Watcher, open the Settings dialog box by choosing File | Settings on the main menu, and then click File Watchers under the Tools node. The File Watchers pagethat opens, shows the list of File Watchers that are already configured in the project.
Click the Add button
![](http://www.jetbrains.com/img/webhelp/idea/new.png)
or press Alt+Insert. Depending on the tool you are going to use, choose the appropriate predefined template from the pop-up list:
Less
Sass
SCSS
In the Program text box, specify the path to the compiler executable file or archive depending on the chosen predefined template.If you installed the Sass and SCSS tools through Ruby, PhpStorm locates the required files itself at <ruby_home>/bin/sass.bat <ruby_home>/bin/scss.bat respectively and fills in the field automatically. Otherwise, type the path manually or click the Browse button and choose the file location in the dialog box that opens.
lessc.cmdfor Less If you installed the tool through the Node Package Manager, PhpStorm locates the required file itself at
<node.js_home>/node_modules/bin/lessc.cmdand fills in the field automatically. Otherwise, type the path manually or click the Browsebutton
![](http://www.jetbrains.com/img/webhelp/idea/browseButton.png)
and choose the file location in the dialog box that opens.
sass.batfor Sass
scss.batfor SCSS
Proceed as described on page Using File Watchers.
相关文章推荐
- Yii2 选择布局的方式
- 用PHP的socket实现客户端到服务端的通信
- ThinkPHP中select()与find()的区别
- MAC PHP MARK
- Thinkphp 模板JS使用U方法注意事项
- ubuntu 12.10上安装tftpd-hpa
- PhpStorm XDebug 远程调试
- pycharm和phpstorm亲测快捷键(mac)
- editplus查找替换的正则表达式应用
- PHP通过OpenSSL生成证书、密钥并且加密解密数据
- php创建文件并写入信息
- PHP ORM框架与简单代码实现
- yii的mvc流程简介和一些debug
- yii 2.0.6 修改默认控制器
- php环境的使用
- PHP中文件读、写、删的操作(PHP中对文件和目录操作)
- XAMPP+Eclipse PDT+yiiclipse+Yii配置创建Yii工程详解
- Writing Images to the Excel Sheet using PHPExcel--转载
- thinkPHP 多个数据库 切换
- php中创建文件夹失败