2017-08-08 3 views
1

/.sass-cacheディレクトリが作成されないようにすることはできません。SASSキャッシュを無効にできません

は、私が実行していることによって、これをしようとしています:

sass --no-cache

しかしそれは何もしていません実行しています。私は助けフラグをプルアップすると、これは私が得るものです:

Miscellaneous: 
    -i, --interactive    Run an interactive SassScript shell. 
    -c, --check      Just check syntax, don't evaluate. 
     --precision NUMBER_OF_DIGITS How many digits of precision to use when outputting decimal numbers. 
            Defaults to 5. 
     --cache-location PATH  The path to save parsed Sass files. Defaults to .sass-cache. 
    -C, --no-cache     Don't cache parsed Sass files. 
     --trace      Show a full Ruby stack trace on error. 
    -q, --quiet      Silence warnings and status messages during compilation. 

これを見た後、私はその後sass -C, --no-cacheを試みたが、このエラーを得た:

OptionParser::InvalidOption: invalid option: -, Use --trace for backtrace.

にはどうすれば./sass-cacheの作成を無効にしますフォルダ?

答えて

2

使用

sass -C 

または

sass --no-cache 

両方ではありません。

config.rbを使用している場合、追加:

asset_cache_buster = :none 
cache = false 
関連する問題