面倒なコンパイルはPhpStormにやってもらおうってお話。 Rubyやらsassやらのインストールとかそんなんは割愛☆(ゝω・)vキャピ 前提条件 OSX 10.10.1 PhpStorm 8.0.2 Ruby 2.1.2 SASS 3.4.9 PhpStormでプロジェクト作成 空のプロジェクト作ってscssディレクトリ、その中にstyle.scssを作成。 今回はscss_demoって名前のプロジェクトで。 File Watcherの追加と設定 Preference > File Watcherを選択。 下の+からSCSSを選択。 デフォルトのままでもちゃんとコンパイルされるけど、scssファイルと同じ階層にcssファイルがコンパイルされちゃうのでいろいろ変更。 せっかくなのでSource Mapも出力するよーに設定。 変更箇所 デフォルト 変更後 Argument --no-ca