Copy link to clipboard
Copied
Hello everyone
This age-old problem is still huanting me, so I would like a solution, please. To illustrate it, Dreamweaver, even in its version 21.3, compiles every SASS file whether I turn on Enable Auto Compilation On File Save or not. Changing the CSS Output options has never solved this, and the app just constantly compiles all of the SASS files nagging me to hell.
Thanks for reading.
I'm not sure I understand your question, or problem?
Is your problem that DW compiles all SASS files, even if they are partials that you import into other files.
if this is the case, do your partials file names use an undescore as first character
@Import 'variables';
and the file is named
_variables.scss
that way the _variables.scss wont be compiled as _variables.css, but will be compiled on the fly, and the result will imported directly in the hosting file, without creating the CSS file.
ot
...Copy link to clipboard
Copied
In site definition settings under CSS Preprocessors >
Are you sure the Enable Auto Compilation... box is empty?
Which preprocessor are you using?
Under Servers tab > Advanced >
Is the Automatically Upload Files to Server on Save box empty?
Have you tried Restoring DW Preferences?
https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver.html
Copy link to clipboard
Copied
Thanks for the suggestions. I looked through the settings including the two options that you mentioned and confirmed they had been unticked. I didn't get to reset the preferences because what Lena suggested worked.
Copy link to clipboard
Copied
I'm not sure I understand your question, or problem?
Is your problem that DW compiles all SASS files, even if they are partials that you import into other files.
if this is the case, do your partials file names use an undescore as first character
@Import 'variables';
and the file is named
_variables.scss
that way the _variables.scss wont be compiled as _variables.css, but will be compiled on the fly, and the result will imported directly in the hosting file, without creating the CSS file.
otherwise except for partials, compiling files from scss/sass to css , is one of the purposes of this feature, so all SCSS/SASS must be compiled.
If that is not, your trouble, I confess I don't understand your problem, could you please, rephrase it ?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
youps sorry, I answered on the wrong thread/forum... both questions were about the compilation of partials... and I had the wrong recipient... sorry for the noise
Copy link to clipboard
Copied
youps sorry, I answered on the wrong thread/forum...
By @B i r n o u
you should take a nap sometimes...
Copy link to clipboard
Copied
Sorry for beeing later on that one, I was out in location.
I wasn't sure to clearly understand your question... so that's fine if that helped you.
Copy link to clipboard
Copied
Cool, I'm glad that it helped you.
Copy link to clipboard
Copied
I just thought that in your case, you could directly change the json package file, in order to group your partials, and thus mutualize them between your various projects