CSS Preprocessors in NetBeans Subfiles That Don't Compile

I am working with SASS in Netbeans 8. Now I have a project structure as:

 ProjectMap
  |
  |-- index.php 
  |    
  |-- css
  |    |-- style.css
  |
  |-- _dev
        |-- sass
              |-- style.scss
              |-- components
                    |-- header.scss
                    |-- footer.scss

      

Settings:

Input: / _ dev / sass

Output: / css

Compiler options: -I $ {web.root} / _ dev / scss -load-path $ {web.root} / _ dev / scss -style compressed

Style.scss makes the header and footer @import. When I save the style.scss netbeans runs the Sass compiler and generates. Only if I save header.scss or footer.scss it doesn't run the sass compiler. How do I enable Netbeans to compile automatically on save?

  • Netbeans 8 (Build 201403101706) on MacOS
  • Sass 3.3.14
  • Compass 0.12.7 (Alnilam)
+3


source to share


1 answer


Have you checked the "Compile Sass files on save" checkbox? In my case, I am not using any compiler options and it works fine. It compiles all subfolder files (in / styles / scss /) when I save them. netbeans project properties window (To get this window, right click on the project in the project properties>, but I think you figured that out already.)



0


source







All Articles