We use compass/sass in a large-scale project, with hundreds of partial scss files. When running 'compass compile' it takes more than a minute to compile the output css file.
如果使用compass watch [path/to/project]
指南针将仅编译修改后的文件。
您应该使用罗盘监视来仅编译已修改的文件,但是如果您有任何部分,则除非您将导入路径添加为config.rb,例如add_import_path "stylesheets/sass"
否则不会编译其中的更改。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.