barista
barista copied to clipboard
Changed configuration but old settings remain
In my rails 3 project I setup my barista_config so that js files would get compiled to public/js c.output_root = Rails.root.join("public", "js")
This works fine but then I changed it to: c.output_root = Rails.root.join("public", "javascripts", "compiled")
Even though I changed the config it is still compiling my coffeescripts to the old directory.
I feel I am having a similar issue
I have chnaged my config as follows c.bare!
Yet it is still wrapping the compiled javascript in a closure.
Ok .. After outputting the config setting(bare) after compilation it said true. Then I looked at the javascript and it was correctly compiled. Is there perhaps some sort of caching happening with the config ? - I did restart my rails server previously.
BTW Am Running Rails 3.0.7 and Barista 1.2.1