CodeSleeve / asset-pipeline

This Laravel 4 package provides a very simple and easy to use asset pipeline. It was heavily inspired by the Rails asset pipeline. We make use of the wonderful Assetic package to help with pre-compliation!
http://www.codesleeve.com
MIT License
491 stars 53 forks source link

application.css shows the mainfest file code along with the included files #220

Closed Braunson closed 9 years ago

Braunson commented 9 years ago

For some odd reason all of a sudden the outputted application.css file starts with the mainfest comments and then followed by the included css.

e.g.

/**
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any Css/Less files within this directory, lib/assets/javascripts, vendor/assets/javascripts,
 * can be referenced here using a relative path.
 *
 * It's not advisable to add code directly here, but if you do, it'll appear in whatever order it 
 * gets included (e.g. say you have require_tree . then the code will appear after all the directories 
 * but before any files alphabetically greater than 'application.css' 
 *
 * //= require_tree .
 *
 *= require_tree .
 *= require_tree ./bootstrap
 *= require_tree ./theme
 *= require_tree ./vendor
 */
then the css of the items here.
Braunson commented 9 years ago

This turned out to be a weird cache/concat issue. After composer update and composer dump-autoload. It wouldn't parse at all, then I turned concat off and it all worked.

So I went to /public and found an assets folder, renamed/removed that and refreshed and everything is working (with concat enabled too)