lein-less プラグインを使用して .less ファイルをコンパイルする clojurescript プロジェクトをセットアップしようとしています。私はclojurescriptが初めてだと言わなければなりません。問題は、それが実行されていないように見えることです。「lein figwheel」を実行しても実行されず、.less ファイルを変更しても実行されません。
これは私のproject.cljsです
(defproject fed-repo "0.1.0"
:description "Frontend Repository"
:dependencies [
[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.170"]
[org.omcljs/om "1.0.0-alpha22"]
]
:plugins [
[lein-less "1.7.5"]
[lein-cljsbuild "1.1.2"]
[lein-figwheel "0.5.0-4"]
]
:less {
:source-paths ["src"]
:target-path "resources/public/css"
}
:hooks [
leiningen.less
leiningen.cljsbuild
]
:cljsbuild {
:builds [
{
:id "dev"
:source-paths ["src"]
:figwheel true
:compiler {
:main "fed-repo.core"
:asset-path "js/out"
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js/out"
}
}
]
}
)
この設定の何が問題になっていますか?