wilr / grunt-shopify

Grunt plug-in for publishing Shopify theme assets
BSD 3-Clause "New" or "Revised" License
107 stars 32 forks source link

add queue for watched file #52

Closed bwlt closed 9 years ago

bwlt commented 9 years ago

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.

wilr commented 9 years ago

Thanks!