◐ Shell
clean mode source ↗

doc: add missing word in `single-executable-applications.md` · nodejs/node@2892d15

Original file line numberDiff line numberDiff line change

@@ -241,11 +241,11 @@ See documentation of the [`sea.getAsset()`][], [`sea.getAssetAsBlob()`][],

241241

### Startup snapshot support

242242
243243

The `useSnapshot` field can be used to enable startup snapshot support. In this

244-

case the `main` script would not be when the final executable is launched.

244+

case, the `main` script would not be executed when the final executable is launched.

245245

Instead, it would be run when the single executable application preparation

246246

blob is generated on the building machine. The generated preparation blob would

247247

then include a snapshot capturing the states initialized by the `main` script.

248-

The final executable with the preparation blob injected would deserialize

248+

The final executable, with the preparation blob injected, would deserialize

249249

the snapshot at run time.

250250
251251

When `useSnapshot` is true, the main script must invoke the