shopware / development

MIT License
189 stars 170 forks source link

`assets:install` deletes storefront assets folder #150

Closed gRoberts84 closed 3 years ago

gRoberts84 commented 3 years ago

Hi there,

I'm just getting started with ShopWare and I've simply created a new theme via theme:create, activated and then set the theme default to my new theme.

From there, I'm simply extending templates and overriding blocks where required, running assets:install to copy any static assets I need to display in those templates.

After each assets:install I start getting errors such as:

all.css:1 GET http://internal.test/bundles/storefront/assets/font/Inter-Regular.woff net::ERR_ABORTED 404 (Not Found)

I then have to call theme:compile afterwards to ensure that the storefront assets are copied to public.

Is this expected?

shyim commented 3 years ago

Yes. Will be fixed with 6.5.0.0 as its a break when the files are missing there