Jeroen created NETBEANS-5447:
--------------------------------

             Summary: No automatic recompile of "parent" SCSS files when using 
@use instead of @import
                 Key: NETBEANS-5447
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5447
             Project: NetBeans
          Issue Type: Bug
          Components: web - CSS Preprocessors (SASS, LESS, ...)
    Affects Versions: 12.2, 12.1, 12.0, 12.3
         Environment: Windows 10 20H2 Build 19042.867 (same issue present with 
previous versions)
OpenJDK 15.0.2 (same issue with previous versions)
Dart Sass 1.32.8 (same issue with previous versions)
            Reporter: Jeroen


When editing and then saving .scss files with filenames starting with an 
underscore, files that do not start with an underscore that @import those files 
automatically get recompiled into CSS.

However, the @import rule is deprecated, see: 
[https://sass-lang.com/documentation/at-rules/import] in favor of using @use 
rules, see: [https://sass-lang.com/documentation/at-rules/use]

When using @use rules to "import" (with namespacing), changes to 'children' do 
not automatically trigger recompiling of the parent. This means that every time 
an "imported" (with @use) _file.scss file is changed, you then need to manually 
edit the "main.scss" file (without underscore), for example by adding a space 
at the end of a line, to trigger a recompile of the SCSS.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to