@@ -200,17 +200,19 @@ EXAMPLES
200200 $ sf lightning dev app --target-org myOrg --device-type ios --device-id "iPhone 15 Pro Max"
201201```
202202
203- _ See code: [ src/commands/lightning/dev/app.ts] ( https://github.com/salesforcecli/plugin-lightning-dev/blob/2.8 .0/src/commands/lightning/dev/app.ts ) _
203+ _ See code: [ src/commands/lightning/dev/app.ts] ( https://github.com/salesforcecli/plugin-lightning-dev/blob/2.9 .0/src/commands/lightning/dev/app.ts ) _
204204
205205## ` sf lightning dev site `
206206
207- Preview an Experience Builder site locally and in real-time, without deploying it.
207+ [ Beta ] Preview an Experience Builder site locally and in real-time, without deploying it.
208208
209209```
210210USAGE
211- $ sf lightning dev site -o <value> [--flags-dir <value>] [-n <value>]
211+ $ sf lightning dev site -o <value> [--flags-dir <value>] [-n <value>] [-l]
212212
213213FLAGS
214+ -l, --get-latest Download the latest version of the specified site from your org, instead of using any local
215+ cache.
214216 -n, --name=<value> Name of the Experience Builder site to preview. It has to match a site name from the current
215217 org.
216218 -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
@@ -220,7 +222,7 @@ GLOBAL FLAGS
220222 --flags-dir=<value> Import flag values from a directory.
221223
222224DESCRIPTION
223- Preview an Experience Builder site locally and in real-time, without deploying it.
225+ [Beta] Preview an Experience Builder site locally and in real-time, without deploying it.
224226
225227 Enable Local Dev to see local changes to your site in a real-time preview that you don't have to deploy or manually
226228 refresh. To let you quickly iterate on your Lightning web components (LWCs) and pages, your site preview automatically
@@ -239,11 +241,19 @@ DESCRIPTION
239241 For more considerations and limitations, see the Lightning Web Components Developer Guide.
240242
241243EXAMPLES
244+ Select a site to preview from the org "myOrg":
245+
246+ $ sf lightning dev site --target-org myOrg
247+
242248 Preview the site "Partner Central" from the org "myOrg":
243249
244250 $ sf lightning dev site --name "Partner Central" --target-org myOrg
251+
252+ Get and preview the latest version of the "Partner Central" site from the org "myOrg"
253+
254+ $ sf lightning dev site --name "Partner Central" --target-org myOrg --get-latest
245255```
246256
247- _ See code: [ src/commands/lightning/dev/site.ts] ( https://github.com/salesforcecli/plugin-lightning-dev/blob/2.8 .0/src/commands/lightning/dev/site.ts ) _
257+ _ See code: [ src/commands/lightning/dev/site.ts] ( https://github.com/salesforcecli/plugin-lightning-dev/blob/2.9 .0/src/commands/lightning/dev/site.ts ) _
248258
249259<!-- commandsstop -->
0 commit comments