You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jeroen (Jira)" <ji...@apache.org> on 2021/03/14 02:06:00 UTC
[jira] [Closed] (NETBEANS-5447) No automatic recompile of "parent"
SCSS files when using @use instead of @import
[ https://issues.apache.org/jira/browse/NETBEANS-5447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeroen closed NETBEANS-5447.
----------------------------
Resolution: Duplicate
Got error on submit saying "Undefined was not a valid project", then after re-entering info and submitting it again, I saw that despite the error message the issue has been created.
> 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.0, 12.1, 12.2, 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
> Priority: Major
>
> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists