barista icon indicating copy to clipboard operation
barista copied to clipboard

Changed configuration but old settings remain

Open foxyblocks opened this issue 13 years ago • 2 comments

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.

foxyblocks avatar Jun 02 '11 17:06 foxyblocks

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.

tjad avatar Jun 30 '11 10:06 tjad

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

tjad avatar Jun 30 '11 11:06 tjad