Skip to main content
Participant
December 2, 2016
질문

Dreamweaver 2017 won't compile SASS files

  • December 2, 2016
  • 3 답변들
  • 8025 조회

I have upgraded to DW 2017. (Mac OS X)

I have gone to sites > [the site] > CSS preprocessors > general

and I have selected "enable auto compilation on save"

I have gone to sites > [the site] > CSS preprocessors > source and output

and I have selected the source and output folders to be the same.

I cannot get a css file to compile. I have been using terminal and have recently been using Koala but I would like to use Dreamweaver for this rather than another tool.

Phone support sent me a link to Dreamweaver: Setting up SASS and Compiling the Code - Lena Shore As if I hadn't already researched this on Google myself (for many hours). This link deals with Dreamweaver 2013 and uses CodeKit for compilation so the link is unrelated to my question. He was stumped and told me to contact the forums so here I am. Help please?

Thank you,

Scott

이 주제는 답변이 닫혔습니다.

3 답변

Participating Frequently
December 15, 2016

Dreamweaver compiled a single SASS file very well for me until I started to include partials.

I didn't have to do anything special in DW to get it working, it just worked out of the box.

However, if I use partials (ie always!), I have to first save the partial, then go and save the top level scss file as well, before it will compile, which is a real tedious time waster.

I have been told that this is a known problem - and a pretty fundamental one imo! I am going to go back to using Scout [link removed by Mod] until this has been sorted out and is working properly.

BenPleysier
Community Expert
Community Expert
December 15, 2016

juliancoates.34@gmail.com wrote:

However, if I use partials (ie always!), I have to first save the partial, then go and save the top level scss file as well, before it will compile, which is a real tedious time waster.

I have been told that this is a known problem - and a pretty fundamental one imo! I am going to go back to using Scout [link removed by Mod] until this has been sorted out and is working properly.

Who told you that there is a problem with Sass files in the latest version of Dreamweaver. I have been working with Sass files for a few years, have used Scout before going to a much better product called Prepros. I have now ditched Prepros for Sass in favour of the built-in Dreamweaver Processor.

I don't want to be rude, but please tell the person(s) that told you a fib to go and jump. If you cannot make it work, its something that you are not doing correctly.

There are many more partials not shown that I work with on a daily basis.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
BenPleysier
Community Expert
Community Expert
December 6, 2017

Ok, so despite clearing the Dreamweaver cache, still having issues with the stylesheet not being written. Started up Dreamweaver this morning, opened up three .js files each less than 500 lines of code. Make some edits, then opened one of the SASS partial files and made an edit, saved it and nothing got written. Checked my site settings for the CSS Preprocessors, Enable Auto Comilation On File Save is checked on, SASS/SCSS Output file style on expanded, Source and output folders are correct. The output  .css file still has Monday's date on it. I have Outlook and Firefox open, nothing else. My machine did a quick virus scan using 'Managed Antivirus' this morning, which finished 20 minutes before I made the CSS change - not sure if that may have any effect on the situation.  I don't have the option to turn that off, it's managed by our IT company externally.

Restarted Dreamweaver, made a change to the same partial file, and it wrote the the stylesheet perfectly.

Anyone, got any other ideas?


I am on a guessing game here.

Both, your Gulp process and Dreamweaver Sass compiler, use node.js. Could it be that the Sass compiler in Dreamweaver fails after you have used Gulp?

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
BenPleysier
Community Expert
Community Expert
December 3, 2016

Just tried with the following result

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Participant
December 3, 2016

I'm starting to think i need to reinstall. Thoughts?

Legend
December 3, 2016
Paul-M - Community Expert
Legend
December 3, 2016

Well that confirms my worst fears, Adobe actually haven't got a clue what they're doing with Dreamweaver. I can't help you with SASS but DMXZone do a free LESS extension that auto-compiles on save. You don't need the latest version DW 2017 to use it either.

Paul-M - Community Expert