Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed configuration but old settings remain #49

Open
foxyblocks opened this issue Jun 2, 2011 · 2 comments
Open

Changed configuration but old settings remain #49

foxyblocks opened this issue Jun 2, 2011 · 2 comments

Comments

@foxyblocks
Copy link

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.

@tjad
Copy link

tjad commented Jun 30, 2011

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
Copy link

tjad commented Jun 30, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants