mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00:00
doc: add missing word in single-executable-applications.md
PR-URL: https://github.com/nodejs/node/pull/53864 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
This commit is contained in:
parent
b6114ae5c9
commit
900de373ae
@ -241,11 +241,11 @@ See documentation of the [`sea.getAsset()`][], [`sea.getAssetAsBlob()`][],
|
||||
### Startup snapshot support
|
||||
|
||||
The `useSnapshot` field can be used to enable startup snapshot support. In this
|
||||
case the `main` script would not be when the final executable is launched.
|
||||
case, the `main` script would not be executed when the final executable is launched.
|
||||
Instead, it would be run when the single executable application preparation
|
||||
blob is generated on the building machine. The generated preparation blob would
|
||||
then include a snapshot capturing the states initialized by the `main` script.
|
||||
The final executable with the preparation blob injected would deserialize
|
||||
The final executable, with the preparation blob injected, would deserialize
|
||||
the snapshot at run time.
|
||||
|
||||
When `useSnapshot` is true, the main script must invoke the
|
||||
|
||||
Loading…
Reference in New Issue
Block a user