Why isn't ThemeKit responding to changes in my sections directory?

Why isn't ThemeKit responding to changes in my sections directory?

ashishjangra
New Member
4 0 0

Hello Folks,

 

I have setup themekit. and I have run theme get command first. It works properly. But later on when i use theme watch nothing happening.

 

11:59:09 [development] store-dev-url: Watching for file changes to theme THEMEID

 

Nothing happen after above message. We are making some change in sections directory. 

Replies 3 (3)

drakedev
Shopify Partner
704 153 246

Be sure to have the latest version of ThemeKit installed, 1.3.0 at the moment. If you are working on the live theme remember to use the --allow-live flag (be careful) and be sure that you are saving the modification on the file. You should see a command in the window only after you save the file.

 

theme watch --allow-live

 

 

If my answer was helpful click Like.
If the problem is solved remember to click Accept Solution.
Shopify/Shopify Plus custom development and support: You can hire me for simple and/or complex tasks.
ashishjangra
New Member
4 0 0

Hi thank you for your response,

 

I am using latest themekit version  ThemeKit 1.3.0 darwin/amd64. Also my theme is not live. but still it is not working. 

Bernardinevw89
Shopify Partner
3 0 1

Not sure if this will solve it for you?

 

I had the same issue and only later on realized that we changed our file structure slightly, I then discovered if you add the working directory path to config.yml it works again. Our config.yml file is always in the src directory, we then took all of the standard theme files and placed them in a folder called "theme" within the src folder so config.yml was still in the src folder and obviously couldn't locate the theme files so here's what I changed in config.yml https://share.getcloudapp.com/bLuOWdl8

 

I went through the ThemeKit troubleshooting doc but this wasn't mentioned there, think there should be a step added that tells you to ensure that the working directory is correct.

 

Hope this helps!