Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Fix single section files watch #6

Merged
merged 1 commit into from
Aug 24, 2016
Merged

Conversation

macdonaldr93
Copy link
Contributor

@Shopify/themes-fed

Update to the section build to watch and deploy single section files. These changes also affect the build.

@macdonaldr93 macdonaldr93 self-assigned this Aug 24, 2016
@@ -44,7 +44,7 @@ var config = {
icons: 'src/icons/**/*.svg',
templates: 'src/templates/**/*',
snippets: 'src/snippets/*',
sections: 'src/sections/*.liquid',
sections: 'src/sections/**/*',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this need to update? We only ever want to watch the root level liquid file (unless it's a folder-built section)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is being used on the watch so we want to watch all files in the sections folder. AKA > any changes to sections in folders so that they compile or any changes to single liquid files so they get copied over.

@cshold
Copy link
Contributor

cshold commented Aug 24, 2016

👍

1 similar comment
@bertiful
Copy link
Contributor

👍

@macdonaldr93 macdonaldr93 merged commit 2b626e7 into master Aug 24, 2016
@macdonaldr93 macdonaldr93 deleted the fix-single-section-files branch August 24, 2016 20:06
t-kelly pushed a commit that referenced this pull request Jul 31, 2017
* fix zip to use theme name

* make theme root available in conffig

* remove unrelated changes
t-kelly pushed a commit that referenced this pull request Jul 31, 2017
* fix zip to use theme name

* make theme root available in conffig

* remove unrelated changes
t-kelly pushed a commit that referenced this pull request Jul 31, 2017
* fix zip to use theme name

* make theme root available in conffig

* remove unrelated changes
@lock
Copy link

lock bot commented Oct 26, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants