diff --git a/Home.md b/Home.md index f345f1b..06e4668 100644 --- a/Home.md +++ b/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).