DynamoMTL / shopify-pipeline

Shopify Pipeline - A modern pipeline for Shopify theme development
MIT License
86 stars 16 forks source link

faster `yarn serve` startup possible? #100

Closed lastobelus closed 6 years ago

lastobelus commented 6 years ago

Is there a way to leverage themekit's relatively new theme.lock mechanism to avoid having to wait so long for yarn serve to start up by only uploading assets that have actually changed? or even just to upload what's needed for HMR and open the site first, then upload assets?

nddery commented 6 years ago

We are using version 0.6.11 of https://github.com/Shopify/node-themekit, which does not seem to support the new theme.lock feature - and the latest 0.6.12 only seems to be changes in the README.

On yarn serve, only assets that can't be serve locally are uploaded (so all liquid files, settings, ...) while JS, CSS and images are served through the dev-server.

Themekit's theme.lock looks interesting, and when it becomes available in the node version it'll be interesting to update.