Why does my app configuration revert after running npm run dev?

Hi everyone, I have a question. . . .
I modified “shopify.app.toml” and successfully pushed the configuration through the command “npm run shopify app config push”. But when I run “npm run dev”, “shopify.app.toml” automatically changes back to the configuration before modification.
What is the reason and what should I do?

1 Like

Hi, we are facing a similar issue. @azhe have you found a solution for this?

1 Like

1st run this command: npm run shopify app deploy
Release a new version of your app
Now, run the npm run dev command
if your problem is related to scopes then it will help

1st run this command: npm run shopify app deploy
Release a new version of your app
Now, run the npm run dev command
if your problem is related to scopes then it will help