Skip to content

Commit 9cfd802

Browse files
committed
Merged Leigha's info on restoring preview session
1 parent 5cbc2f3 commit 9cfd802

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

docs/workspace/content-panel.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,7 @@ Dreamflow provides integrated hot reload and hot restart capabilities that allow
5050

5151
**Hot Restart** completely restarts your Flutter app with all code changes applied, resetting the application state. Use this for structural changes, when hot reload fails, or after fixing compilation errors. To Hot Restart the preview, click the **refresh** button at the top right of the Content Panel.
5252

53-
**Stop Preview** ends the preview session completely. While Dreamflow works to prevent issues, sometimes the preview can enter an unusual or broken state. If problems aren’t resolved by Hot Reload or Hot Restart, it’s best to click the **Stop** button at the top of the Content Panel to stop the preview completely and restart it. Once stopped, you can restart the preview using the **Restart** button that appears on the preview device.
54-
55-
:::info[If you're still experiencing issues in the preview...]
56-
You can try to reload the project entirely by selecting the project name in the top left corner and selecting "Reload Project"
57-
:::
53+
**Stop Preview** ends the preview session completely. While Dreamflow works to prevent issues, sometimes the preview can enter an unusual or broken state. Stopping the preview clears the current session, allowing you to restart it fresh and restore normal behavior.
5854

5955
### Additional Features
6056

@@ -132,7 +128,8 @@ This usually happens when the preview session is stuck or the project dependenci
132128
- **Hot Restart (🔄):** Restarts the app and resets its state. Use this if hot reload doesn't reflect changes or the preview is still stuck.
133129
- **Stop and Restart Preview (⏹️/▶️):** Manually stop the preview and start it again to relaunch the app.
134130
- **Refresh Dependencies:** At the bottom toolbar, click **Refresh Dependencies**. This will re-sync all your pub.dev packages in case the issue is caused by outdated or missing dependencies.
135-
- **Reload Project in Browser:** Sometimes, you need a full browser refresh to reload the project. If refreshing doesn't help, completely close the browser tab and reopen your project.
131+
- **Reload Project:** You can try to restart the project session entirely by selecting the project name in the top left corner and then selecting **Reload Project**.
132+
![reload-project](imgs/reload-project.avif)
136133
- **Check for Errors in Debug Console:** Open the Debug Console from the bottom panel to look for errors or warnings that may be preventing the app from launching. If you spot an error, you can ask the Agent directly to help resolve it.
137134

138135
Most preview issues can be fixed by reloading the project or restarting the preview. If the problem continues, use the **Submit Feedback** button in the top bar to file a bug report.
22.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)