Launches a previously exported Electron application for testing and debugging
without building distributable packages. Pass the electron-app directory
from a prior export() call.
Arguments
- app_dir
Character string. Path to the Electron application directory (the
electron-appsubdirectory fromexport()).- port
Integer. Port number for the development server. Default is 3000.
- open_devtools
Logical. Whether to open Chromium DevTools automatically. Default is TRUE.
- verbose
Logical. Whether to display detailed progress information. Default is TRUE.
Value
Invisibly returns the completed processx::run() result list
(with status, stdout, and stderr) after Electron exits, or NULL
if the run is interrupted. Note that this call blocks until the Electron
window is closed.