jlitola / play-sass

Sass asset handling for Play Framework 2.0 *DEPRECATED*
MIT License
90 stars 28 forks source link

Trouble with compiling multiple SCSS files #8

Closed andyroot closed 11 years ago

andyroot commented 11 years ago

I have 2 scss file /app/assets/stylesheets/main.scss and /app/assets/stylesheets/main2.scss. If I edit main.scss and then refresh /assets/stylesheets/main.css in the browsers I get a 200 but if I refresh for /assets/stylesheets/main2.css I get a 404. The opposite happens if I change main2.scss, I can then load main2.css but main.css is not longer available. Under /target/scala-2.9.1/resource_managed/main/public/stylesheets both files reside but under /target/scala-2.9.1/classes/public/stylesheets only the changed file resides. So if I change main.scss only main.css will be listed under /target/scala-2.9.1/classes/public/stylesheets and if I then change main2.scss, main.css is replaced with main2.css. It seems the resource_managed directory should be the directory where the css files should be pulled from but I think they are getting pulled from the classes directory.

jlitola commented 11 years ago

I'm not able to reproduce this with play 2.0.4 and play-sass 0.1.3. Could you please send minimal project showing this behaviour?

jlitola commented 11 years ago

Closing this now, as I haven't been able to reproduce this. Please send minimal project showing this behaviour and re-open the ticket if this still persist.