I'm running Sublime Text, writing SASS and compiling with Libsass.
Each time I update an scss file which is imported via @import to my main scss file I need to then go back to the main.scss and recompile using the ctrl-b build shortcut.
Is it possible to automate the compile of this main.scss file when using ctrl-s save shortcut on any of the imported files?
Thanks!
您可以在监视模式下使用sass
,而完全不必按ctrl-B!
$ sass --watch main.scss:output.css
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.