These changes introduce a queue mechanism (using caolan/async queue) for processing the watched files.
Before this change all grunt watch events were considered as a requests burst from Shopify when performing some actions like checkout different local branches with a lot of theme diffs.
This caused some API errors, and some time consume while developing.
Now with the queue all changed files will be processed one by one.
These changes introduce a queue mechanism (using caolan/async queue) for processing the watched files.
Before this change all grunt watch events were considered as a requests burst from Shopify when performing some actions like checkout different local branches with a lot of theme diffs. This caused some API errors, and some time consume while developing. Now with the queue all changed files will be processed one by one.