Skip to content

Commit

Permalink
Add a dev instruction for lite in SharedWorker mode (#6778)
Browse files Browse the repository at this point in the history
* Add a dev instruction for lite in SharedWorker mode which is confusing like #6398 (comment)

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
whitphx and gradio-pr-bot authored Dec 27, 2023
1 parent 8333db8 commit 8a093e2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/busy-jobs-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@gradio/app": minor
"gradio": minor
---

feat:Add a dev instruction for lite in SharedWorker mode
6 changes: 6 additions & 0 deletions js/app/src/lite/dev/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ def hi(name):
</script>

<div class="container">
<div class="panel">
When the SharedWorker mode is enabled, access the URL below (for Chrome) and
click the "inspect" link of the worker to show the console log emitted from
the worker.
<pre><code>chrome://inspect/#workers</code></pre>
</div>
<div class="panel">
<h2>Files</h2>

Expand Down

0 comments on commit 8a093e2

Please sign in to comment.