Ok, the problem was the files with .clj suffix are ignored by the watcher. Changing it to .cljs solved the problem.
On Tuesday, August 19, 2014 11:58:51 AM UTC+2, Timur wrote: > > Hi everyone, > > My clojurescript build results in a Javascript file which does not contain > the expected namepsace and functions contained in my clojurescript files. > What could be the reason? > > My project setup (simplified) is as follows: > > (defproject myapp "0.1.0-SNAPSHOT" > > :description "FIXME: write description" > > :url "http://example.com/FIXME" > > :dependencies [[org.clojure/clojure "1.6.0"] > > [compojure "1.1.8"] > > [enfocus "2.1.0"] > > [cljs-ajax "0.2.6"] > > [org.clojure/clojurescript "0.0-2311"]] > > :plugins [[lein-idefiles "0.2.1"] > > [lein-cljsbuild "1.0.3"] > > [com.cemerick/austin "0.1.4"]] > > :ring {:handler myapp/app} > > :java-source-paths ["src/main/java"] > > :hooks [leiningen.cljsbuild] > > :resource-paths ["src/main/resources" "src/main/web-app"] > > :source-paths ["src/main/clj"] > > :java-source-paths ["src/main/java"] > > :compile-path "bin/" > > :profiles {:dev > > {:dependencies [[javax.servlet/servlet-api "2.5"] > > [ring-mock "0.1.5"]]}} > > :cljsbuild { > > :builds [{ > > :source-paths ["src/main/cljs"] > > :compiler { > > :output-to > "src/main/web-app/public/js/main.js" ; default: target/cljsbuild-main.js > > :optimizations :whitespace > > :pretty-print true}}]}) > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.