Skip to content

Commit 325191f

Browse files
committed
Changeset + docs
1 parent bb8f8a5 commit 325191f

File tree

3 files changed

+42
-3
lines changed

3 files changed

+42
-3
lines changed

.changeset/bright-impalas-float.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/theme': minor
3+
---
4+
5+
Render error overlay when `theme dev` encounters asset upload errors

packages/cli/README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,9 +1799,10 @@ Uploads the current theme as a development theme to the connected store, then pr
17991799

18001800
```
18011801
USAGE
1802-
$ shopify theme dev [-e <value>] [--host <value>] [-x <value>] [--live-reload hot-reload|full-page|off]
1803-
[--no-color] [-n] [--notify <value>] [-o <value>] [--open] [--password <value>] [--path <value>] [--port <value>]
1804-
[-s <value>] [--store-password <value>] [-t <value>] [--theme-editor-sync] [--verbose]
1802+
$ shopify theme dev [-e <value>] [--error-overlay silent|default] [--host <value>] [-x <value>]
1803+
[--live-reload hot-reload|full-page|off] [--no-color] [-n] [--notify <value>] [-o <value>] [--open] [--password
1804+
<value>] [--path <value>] [--port <value>] [-s <value>] [--store-password <value>] [-t <value>]
1805+
[--theme-editor-sync] [--verbose]
18051806
18061807
FLAGS
18071808
-e, --environment=<value>
@@ -1824,6 +1825,13 @@ FLAGS
18241825
-x, --ignore=<value>...
18251826
Skip hot reloading any files that match the specified pattern.
18261827
1828+
--error-overlay=<option>
1829+
[default: default] Controls the visibility of the error overlay when an theme asset upload fails:
1830+
- silent Prevents the error overlay from appearing.
1831+
- default Displays the error overlay.
1832+
1833+
<options: silent|default>
1834+
18271835
--host=<value>
18281836
Set which network interface the web server listens on. The default value is 127.0.0.1.
18291837

packages/cli/oclif.manifest.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5152,6 +5152,19 @@
51525152
"name": "environment",
51535153
"type": "option"
51545154
},
5155+
"error-overlay": {
5156+
"default": "default",
5157+
"description": "Controls the visibility of the error overlay when an theme asset upload fails:\n- silent Prevents the error overlay from appearing.\n- default Displays the error overlay.\n ",
5158+
"env": "SHOPIFY_FLAG_ERROR_OVERLAY",
5159+
"hasDynamicHelp": false,
5160+
"multiple": false,
5161+
"name": "error-overlay",
5162+
"options": [
5163+
"silent",
5164+
"default"
5165+
],
5166+
"type": "option"
5167+
},
51555168
"force": {
51565169
"allowNo": false,
51575170
"char": "f",
@@ -6427,6 +6440,19 @@
64276440
"name": "environment",
64286441
"type": "option"
64296442
},
6443+
"error-overlay": {
6444+
"default": "default",
6445+
"description": "Controls the visibility of the error overlay when an theme asset upload fails:\n- silent Prevents the error overlay from appearing.\n- default Displays the error overlay.\n ",
6446+
"env": "SHOPIFY_FLAG_ERROR_OVERLAY",
6447+
"hasDynamicHelp": false,
6448+
"multiple": false,
6449+
"name": "error-overlay",
6450+
"options": [
6451+
"silent",
6452+
"default"
6453+
],
6454+
"type": "option"
6455+
},
64306456
"force": {
64316457
"allowNo": false,
64326458
"char": "f",

0 commit comments

Comments
 (0)