Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
顧客が色やフォントなどを変更できる GUI を作成したいのですが、サーバーを再起動せずに Rails で sass/css アセットを再コンパイルする方法がわかりません。
これは可能ですか?もしそうなら、そのトリックは何ですか?
ありがとう!
確かに、実際の css ファイルが Rails 変数の出力によって影響を受ける場合、アセットのコンパイルとランタイム変数の置換を同時に行うことはできません。 アセットのコンパイルはいつでもオフにできます。