mirror of
https://github.com/enso-org/enso.git
synced 2024-12-21 07:21:30 +03:00
ee981d2052
This PR changes build script's `ide watch` and `ide start` commands, so they don't use `electron-builder` to package. Instead, they invoke `electron` directly, significantly reducing time overhead. `ide watch` will now start Electron process, while continuously rebuilding gui and the client in the background. Changes can be puilled by reloading within the electron, or closing the electron and letting it start once again. To stop, the script should be interrupted with `Ctrl+C`.
10 lines
280 B
TypeScript
10 lines
280 B
TypeScript
/** This script creates a packaged IDE distribution using electron-builder.
|
|
*
|
|
* Behaviour details are controlled by the environment variables or CLI arguments.
|
|
* @see Arguments
|
|
**/
|
|
|
|
import { args, buildPackage } from './electron-builder-config.js'
|
|
|
|
await buildPackage(args)
|