bezoerb / generator-grunt-symfony

[DEPRECATED] Yeoman generator that scaffolds out a Symfony PHP app including Browsersync, various CSS preprocessors, RequireJS, jspm, webpack and Service Worker
33 stars 5 forks source link

404 on prod for assets #37

Closed bcosynot closed 8 years ago

bcosynot commented 9 years ago

I am not completely sure whats going on, but I am getting a 404 for the assets because the template is still using the unprocessed files.

I am using an apache2 server and ran grunt build before accessing the site on Ubuntu.

bcosynot commented 9 years ago

The above is also true when I just run grunt serve:dist on Windows and Ubuntu.

bezoerb commented 9 years ago

@vr3690 could you provide the configuration you used?

bcosynot commented 9 years ago

@bezoerb using browsersync, sass, requirejs, critical and bootstrap

Is this what you needed or were you looking for some other information?

bezoerb commented 9 years ago

nope, this is what i was looking for. I'll see if i can reproduce the behavior.

bcosynot commented 9 years ago

Forgot to mention, I am using symfony 2.7

bezoerb commented 9 years ago

I think this is the cause for the issue ;) See https://github.com/bezoerb/generator-grunt-symfony/pull/20

bcosynot commented 9 years ago

FYI, I tried the updates in commit dff7e1d3695cb8c0e23d8ffbd180ae8762abc2b1, but that did not help. Maybe I missed something.

bezoerb commented 8 years ago

@vr3690 i had no problems with symfony 2.7 just released a new version. wanna give it a try?

bezoerb commented 8 years ago

https://github.com/bezoerb/generator-grunt-symfony/releases/tag/v0.6.0

bcosynot commented 8 years ago

Yup. Seems to be working now. Thanks!

bcosynot commented 8 years ago

Also, just FYI, this works with the newly released 2.8 too.