Syncing Design Tools down to local development environment?

I can’t seem to find a way to efficiently sync the Design Tools with my local development environment.

The hs watch command only seems to work one way, where it uploads any changes from my local development environment up to the Design Tools.

However, when I create a module in the Design Tools, I can’t seem to find a way to pull just that new module down into my local development environment. The hs fetch --overwrite command does not seem to work because it is set to null.

Is there a way to fine-tune the hs fetch command to pull down specific files/folders in the Design Tools into the local development environment?

Hey @slefebvre46

you can use this doc for your reference https://docs.google.com/document/d/10F6etc3gLhrh0k_7tdRhdj3JOHIfUMbmDM7uI8spsUo/edit#heading=h.fc4v9ogjuoja

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.

Thanks and Regards.

You would need to use hs fetch --overwrite “path to module in design tools” “path to module in local environment”
These will often be the same path ( e.g. “my-theme/modules/my-module.module”)


Barry Grennan

Freelance HubSpot CMS Developer

Website | Contact