Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving SCSS partials does not trigger main file to compile #191

Closed
angeliquejw opened this issue Feb 11, 2016 · 3 comments
Closed

Saving SCSS partials does not trigger main file to compile #191

angeliquejw opened this issue Feb 11, 2016 · 3 comments

Comments

@angeliquejw
Copy link

@angeliquejw angeliquejw commented Feb 11, 2016

I am using a SMACSS-inspired organization for my files, where I have a main styles.scss file that imports partials, some of which are in folders, e.g.

@import 'variables', 'base', 'layout/layout', 'modules/modules', 'theme/theme', 'states';

In an earlier version of WebCompiler, when I would save _base.scss or any other partial, styles.scss would automatically recompile, and I would see the changes in my browser. This no longer works for me as of Web Compiler v 1.10.302 and/or v 1.10.303.

I have attempted deleting my project's compilerconfig.json and starting a new file and today uninstalled and reinstalled the WebCompiler plugin, all to no avail.

I am running Visual Studio Professional 2015 v 14.0.24720.00 Update 1 and my current compilerconfig.json looks like this:

[ { "outputFile": "Styles/styles.css", "inputFile": "Styles/styles.scss" } ]

`compilerconfig.json.defaults':

{ "compilers": { "less": { "autoPrefix": "", "cssComb": "none", "ieCompat": true, "strictMath": false, "strictUnits": false, "relativeUrls": true, "rootPath": "", "sourceMapRoot": "", "sourceMapBasePath": "", "sourceMap": false }, "sass": { "includePath": "", "indentType": "space", "indentWidth": 2, "outputStyle": "nested", "Precision": 5, "relativeUrls": true, "sourceMapRoot": "", "sourceMap": false }, "stylus": { "sourceMap": false }, "babel": { "sourceMap": false }, "coffeescript": { "bare": false, "runtimeMode": "node", "sourceMap": false } }, "minifiers": { "css": { "enabled": true, "termSemicolons": true, "gzip": false }, "javascript": { "enabled": true, "termSemicolons": true, "gzip": false } } }

@madskristensen

This comment has been minimized.

Copy link
Owner

@madskristensen madskristensen commented Feb 11, 2016

@angeliquejw thanks for the bug report. Can you help test if this is fixed by downloading the latest CI build from http://vsixgallery.com/extension/148ffa77-d70a-407f-892b-9ee542346862/ ?

@angeliquejw

This comment has been minimized.

Copy link
Author

@angeliquejw angeliquejw commented Feb 11, 2016

Grabbed, installed and working like a dream. Thank you so much, @madskristensen. I honestly want to send you flowers, coffee and generally throw you a ticker tape parade. This had been driving me batty.

@madskristensen

This comment has been minimized.

Copy link
Owner

@madskristensen madskristensen commented Feb 11, 2016

Awesome. Glad it worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.