[英]autosave main scss file instead of having to save it manually
My folder structure is as follows我的文件夹结构如下
I am using 'live sass compiler' in vscode to watch files.我在 vscode 中使用“实时 sass 编译器”来查看文件。 But every time I update other scss files like _globals.scss I have to manually save style.scss for the changes to reflect.但是每次我更新其他 scss 文件(如 _globals.scss)时,我都必须手动保存 style.scss 以反映更改。 Is there a work-around to auto save style.scss instead of having to save it manually.是否有自动保存 style.scss 而不必手动保存的解决方法。
my settings.json for live sass compiler are as follows:我的实时 sass 编译器的 settings.json 如下:
{
"editor.tabSize": 2,
"editor.fontSize": 18,
"editor.wordWrap": "on",
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"terminal.integrated.defaultProfile.windows": "Git Bash",
"liveServer.settings.donotShowInfoMsg": true,
"files.autoSave": "afterDelay",
"workbench.editorAssociations": {
"*.ipynb": "jupyter.notebook.ipynb"
},
"editor.renderWhitespace": "none",
"liveSassCompile.settings.autoprefix": [],
"liveSassCompile.settings.excludeList": ["**/node_modules/**", ".vscode/**"]
}
This seems bizare.这似乎很奇怪。 Anything with a leading underscore should compile all files.任何带有前导下划线的东西都应该编译所有文件。 Do you still have the issue on my active fork ?你对我的活动叉还有问题吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.