[Bug] packer start
: have it watch and upload all changed files, not just *some*
#188
Labels
enhancement
New feature or request
The Problem
The code that auto-uploads changed files to the theme seems to skip some files. It's really hard to understand the intent of this bit of code, there's a bunch of path matching, but the result is that the function passes on some file paths to the code that uploads them to the theme, but some of them it ignores. We often find that
packer start
skips a bunch of JS files (that we think it shouldn't) such that we have to runpacker deploy
first. We're not sure why the answer isn't just "Upload all files that don't match the provided ignore patterns".Describe the solution you'd like
We'd expect it to keep up to date the same set of files that
packer deploy
uploads.Replace the code in question:
shopify-packer/src/server/asset/index.js
Lines 51 to 68 in c507fcb
With the same action for all paths:
The text was updated successfully, but these errors were encountered: