[ 
https://issues.apache.org/jira/browse/NETBEANS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17372790#comment-17372790
 ] 

Iván Barták commented on NETBEANS-581:
--------------------------------------

I support a more generalized solution as well. I had problems because of the 
hardcoded console/terminal commands in NodeJs, GCC and in Java as well. I would 
go so far, that even the runnable name should not be hardcoded. 
https://issues.apache.org/jira/browse/NETBEANS-2145

A watcher like solution would be awesome: Filenames with specific 
[extension/path with wildcards/path with regexp] would trigger a list of user 
defined commands on save or on a button press. With presets of course for the 
usual things.
 * We could tackle the API changes without waiting for a new version. (Ruby 
sass is not maintained since 26 March 2019. Even libsass is deprecated now in 
favor of dart-sass)
 * We could have a chain of commands. Sass -> Autoprefixer -> Minifier. (like 
building a page with modular Bootstrap 5 
[https://getbootstrap.com/docs/5.0/getting-started/build-tools/)]
 * This watchers could be imported to the new version, like other user settings.
 * JavaScript, Html minifiers could be a thing, without developer interaction.

> Could not find an option named "cache-location".
> ------------------------------------------------
>
>                 Key: NETBEANS-581
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-581
>             Project: NetBeans
>          Issue Type: Bug
>          Components: web - CSS Preprocessors (SASS, LESS, ...)
>    Affects Versions: 12.3
>            Reporter: Bo Andersen
>            Priority: Major
>
> When using the internal sass configuration, it calls the sass compiler with 
> the --cache-location command. It seems that this is not part of the current 
> sass compiler anymore.
>  
> Sass error:
> Could not find an option named "cache-location".
>  
> I am using this release of sass compiler: 
> https://github.com/sass/dart-sass/releases/tag/1.1.1



--
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