.shopifyignore file not reflecting any changes

Nimra
New Member
3 0 0

I was working on my workflow of Shopify 2.0 using Shopify CLI and I am doing some file transformations using different buildtools.
I have my compiled and source code mixed but also wanted to make sure i could take leverage of the new Shopify CLI.
For that, I wanted to ignore any of the unnecessary folders that doesn't fit the directory format to be able to run the 'shopify theme serve' command. 

below is the content of my .shopifyignore file:

# OS generated files #
.DS_Store
.DS_Store?
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Enviroment files #
source
build_tools
node_modules
.config
.github
.vscode
.docs
src/public/*.json
package.json
.gitignore
gulpfile.js

# Other files #
/\.(txt|md|lock)$/

 and here is the errors I'm getting when running 'shopify theme serve'

Screenshot 2021-10-23 at 2.21.41 PM.png

Replies 0 (0)