Skip to content
Discussion options

You must be logged in to vote

@jamesscaggs
Not sure why you use npm start. Here is my workflow:

Create a copy of live theme. Connect copy with packer settings.
run packer watch - this will start the watcher and it will upload some files but uses proxy to hot-reload local assets which is quite awesome and time saving.

Once i am done development - i run packer build && packer deploy -> which will deploy build files to the copied theme.

If i want to deploy to client live store - i can just use the enviroment flag. I don't see this as a real local development enviroment because we packer use proxy but it is the next best thing - to build new big projects with this tool - and it saves us a lot of time already.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by hayes0724
Comment options

You must be logged in to vote
1 reply
@jamesscaggs
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants