I have reproduced the issue on the latest CLI version.
Yes, I am on the latest version
I have searched existing posts and this report is not a duplicate.
Yes, this isn’t a duplicate
In which of these areas are you experiencing a problem?
Theme
Expected behavior
Be able to ignore .shopifyignore on e.g. dev command.
Actual behavior
No option at all
Reproduction steps
Verbose output
Operating system
macOS Tahoe
CLI version
4.3.0
Shell
zsh
Nodejs version
24.14.0
Curious about the use case here!
Hi @Gray-Shopify,
We’d like to be able to globally ignore files (e.g. json templates) in the .shopifyignore file, but not on shopify theme dev. In that case, we do not want the json files being ignored.
Interesting. So something kind of like shopify theme dev --allow-all or something to that affect?
Hi @Gray-Shopify
--allow-all would solve this but it’s all-or-nothing: it also un-ignores things you still want hidden everywhere (.env, secrets, editor/OS files), and it lives in a shell command rather than a reviewable config, so nobody reading the repo would know dev behaves differently.
I’d propose a companion file, shopify.ignore.toml (in line with shopify.theme.toml/shopify.app.toml), scoped by command (not environment — shopify.theme.toml’s [environments.*] is store-scoped, and dev can run against any environment):
# shopify.ignore.toml
[dev]
unignore = ["config/settings_data.json", "templates/**/*.json", "sections/*.json"]
.shopifyignore stays untouched (pure gitignore syntax, no new sections to parse). A command with no table keeps today’s behavior exactly. The override is explicit, versioned, and scoped only to the patterns actually needed per command — not a blanket bypass.