https://rubyinstaller.org/
ruby-sass
WORK IN PROGRESS...
This Node module is an attempt to provide a faster binding to Ruby Sass than currently available.
Explanation: Sass in a Rails app with LiveReload seems much faster than things like gulp-ruby-sass. I'm guessing this is because Rails runs Sass using the same Ruby process every compile, avoiding Ruby spin-up time, and benefiting from in-memory caching. This module tries to do something similar. Benchmarks to follow.
Installation
$ npm install ruby-sass
Usage
var sass = ; ;
Repeated calls should be faster than the first one.
You can also pass options as a second argument.
Options
loadPaths
(array)sourcemap
(boolean)
Alternative API
var Sass = Sass; var sass = ; sass; // same as the `sass` function in standard API.
Constructor options
These are optional.
port
– which port to usebasePort
(default:8500
) – if you don't set aport
, portfinder will be used to find one manually, starting at this base port.
To do
- source maps
make it so you don't have to wait for readykill ruby process when node exits or on uncaught exceptionmake a way to stop it manually- write benchmarks
- see if repeat runs on the same file are actually any faster. if not, look at using Sass::Plugin (?)
- make post install script to check if required gems are installed and print instructions to install them (or just install them?)
pass in sass options per-file, not per-instancesimplify api- test it on windows
Licence
MIT
댓글 0
댓글 쓰기 권한이 없습니다.
20 | 서브라임 -사용자 설정 | 흑묘 | 2023.02.26 | 43 |
19 | Sublime Text 설치 후 초기 세팅하기(기본 플러그인 포함) | 흑묘 | 2023.02.26 | 222 |
18 | [아톰] atom-live-server | 흑묘 | 2017.07.17 | 88 |
17 | 아톰 sass autocompile 방법 | 흑묘 | 2017.07.16 | 78 |
16 | SASS (SCSS) 컴파일 하는 방법 | 흑묘 | 2017.07.16 | 343 |
> | ruby-sass 설치 | 흑묘 | 2017.05.01 | 67 |
14 | node-sass 설치 | 흑묘 | 2017.05.01 | 86 |
13 | [firefox] 웹폰트 다운로드 안될때 | 흑묘 | 2017.04.24 | 89 |
12 | [아톰] 패키지 | 흑묘 | 2017.04.24 | 3290 |
11 | [아톰] 기본 설정 | 흑묘 | 2017.04.24 | 462 |
10 | 오프라인에서 크롬 확장프로그램 설치 방법 | 흑묘 | 2016.06.10 | 575 |
9 | 초보자를 위한 압타나 스튜디오 3 [Aptana studio 3] 설치 및 기본설정 | 흑묘 | 2016.04.16 | 261 |
8 | EncodingHelper - 서브라임 텍스트(Sublime Text) 플러그인 #2 | 흑묘 | 2016.02.19 | 132 |
7 | 서브라임 텍스트(Sublime Text) 플러그인 설치 | 흑묘 | 2016.02.19 | 148 |
6 | 서브라임 텍스트(Sublime Text) 환경설정 | 흑묘 | 2016.02.19 | 154 |
5 | 서브라임 텍스트(Sublime Text) 소개 및 설치 | 흑묘 | 2016.02.19 | 345 |
4 | [드림위버] 코드 작성 환경 설정 | 흑묘 | 2015.02.01 | 1413 |
3 | [드림위버]코드 자동 정렬과 코드 들여쓰기 설정 | 흑묘 | 2015.02.01 | 190 |
2 | 인코딩 변경하기(에디터플러스, 드림위버) | 흑묘 | 2014.12.22 | 713 |
1 | zen-coding cheat-sheet | 흑묘 | 2014.11.10 | 124 |