Updated Home (markdown)

sawka 2023-08-09 23:21:28 -07:00
parent 5b972c879b
commit 9822cef0da

11
Home.md

@ -93,6 +93,15 @@ For the Electron App:
scripthaus run webpack-electron-watch
```
### Running the Prompt Dev Client
Now that webpack is running (and watching for file changes) we can finally run the Prompt Dev Client! To start the client run:
```
scripthaus run electron
```
To kill the client, either exit the Electron App normally or just Ctrl-C the ```scripthaus run electron``` command.
Because we're running webpack in watch mode, any changes you make to the typescript will be automatically picked up by the client after a refresh. Note that I've disabled hot-reloading in the webpack config, so to pick up new changes you'll have to manually refresh the Prompt Client window. To do that use "Command-Shift-R" (Command-R is used internally by Prompt and will not force a refresh).