Users are not prompted to accept new TOML scopes

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?

App

Expected behavior

I add new API scopes to the toml and users are prompted to accept the new scopes when opening the app

Actual behavior

The users are not prompted to accept the new API scopes

Reproduction steps

Add a new API scope to your toml file, deploy the changes and visit the app.

Verbose output

.

Operating system

MacOS

CLI version

3.86.1

Shell

Warp

Found the issue. Even when you are no longer running shopify app dev the store remains in development mode and doesn’t pick up toml changes. You will have to run shopify app dev clean first.

Thanks for the update @Philo. We are working on making it easier to clear the dev preview from the store when you no longer need it.

Thanks Nick! Having the option to clear the session from the browser would be great in case I’m not behind my laptop. I assume this is a recent change? Before, the preview mode closed automatically.

Yep! This is part of the changes that came with the new dev in the Dev Platform.

More details on the changes to dev in our docs: