diff --git a/.changeset/remove-theme-dev-poll.md b/.changeset/remove-theme-dev-poll.md new file mode 100644 index 00000000000..5a711d169ab --- /dev/null +++ b/.changeset/remove-theme-dev-poll.md @@ -0,0 +1,5 @@ +--- +'@shopify/theme': major +--- + +Remove the `--poll` flag from `theme dev`. It has been deprecated since 3.61.0 and has had no effect since 3.70.0. diff --git a/packages/cli/oclif.manifest.json b/packages/cli/oclif.manifest.json index 7e272930ac8..de4515187fb 100644 --- a/packages/cli/oclif.manifest.json +++ b/packages/cli/oclif.manifest.json @@ -11082,14 +11082,6 @@ "noCacheDefault": true, "type": "option" }, - "poll": { - "allowNo": false, - "description": "Force polling to detect file changes.", - "env": "SHOPIFY_FLAG_POLL", - "hidden": true, - "name": "poll", - "type": "boolean" - }, "port": { "description": "Local port to serve theme preview from. Must be between 1 and 65535.", "env": "SHOPIFY_FLAG_PORT", diff --git a/packages/theme/src/cli/commands/theme/dev.ts b/packages/theme/src/cli/commands/theme/dev.ts index 7bbd2231120..fd61f3dad63 100644 --- a/packages/theme/src/cli/commands/theme/dev.ts +++ b/packages/theme/src/cli/commands/theme/dev.ts @@ -72,11 +72,6 @@ You can run this command only in a directory that matches the [default Shopify t default: 'default', env: 'SHOPIFY_FLAG_ERROR_OVERLAY', }), - poll: Flags.boolean({ - hidden: true, - description: 'Force polling to detect file changes.', - env: 'SHOPIFY_FLAG_POLL', - }), 'theme-editor-sync': Flags.boolean({ description: 'Synchronize Theme Editor updates in the local theme files.', env: 'SHOPIFY_FLAG_THEME_EDITOR_SYNC',