Very simple, when Compass encounters a new SCSS file it generates a new CSS file. Can I set default permissions for these, as by default it sets them without correct permissions for browsers to read them (gives 403 forbidden errors). If there's a way I can set files to inherit the permissions of their directory that would also be acceptable, as would a way to alter permissions during the copy task in Phing.
1 に答える
0
開発環境がどのように設定されているかはわかりませんが、sass ファイルをコンパイルするためにgruntを使用しています。grunt を使用すると、ビルド プロセスを完全に制御でき、ビルドが成功した後にスクリプトを実行できます (必要に応じて、フロントエンド キャッシュをクリアするか、ファイル アクセス許可を設定します)。
マーカス
于 2014-12-10T12:32:47.127 に答える