Shopify / slate

Slate is a toolkit for developing Shopify themes. It's designed to assist your workflow and speed up the process of developing, testing, and deploying themes.
https://shopify.github.io/slate
MIT License
1.28k stars 364 forks source link

Assets workflow #956

Closed goldsteinr closed 5 years ago

goldsteinr commented 5 years ago

Problem

We're having a problem working with the assets folder. The folder is full of images, and every time we run yarn start and the files are uploaded. How is the common workflow for that case? Add the assets to the .gitignore? Delete the folder's content every time the files are uploaded?

More Information

Is there a limit image size to upload? We're getting a TIMEOUT very often too.

t-kelly commented 5 years ago

@goldsteinr if the images aren't changing often, you can ignore them in .env or create a seperate .env file (.env.no-images) so they don't upload every single time:

SLATE_IGNORE_FILES=assets/*.jpg:assets/*.png
goldsteinr commented 5 years ago

ok, thanks for the response

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.