My Profile Photo

Hao's Keeper


A blog to place memos


Dart Sass in NetBeans 8.2

According to How to use Sass with NetBeans on Linux / macOS

The issue is that –cache-location is no longer supported and should be removed. All of the original parameters are used by “$@”. To remove the first two parameters, you should be able to use “${@:3}” (see Process all arguments except the first one (in a bash script)), but somehow that resulted into a “Bad substitution” error for me. So I opted to use shift 2 to remove them:

macOS (node.js)

create:

/usr/local/lib/node_modules/sass/sass_nb.sh
#!/bin/zsh

export PATH="$PATH:"/usr/local/bin/
shift 3
sass ${@}