GeezerVison is showing github.com — doc: add missing word in `single-executable-applications.md` · nodejs/node@2892d15
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/single-executable-applications.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -241,11 +241,11 @@ See documentation of the [`sea.getAsset()`][], [`sea.getAssetAsBlob()`][], |
241 | 241 | ### Startup snapshot support |
242 | 242 |
|
243 | 243 | 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. |
245 | 245 | Instead, it would be run when the single executable application preparation |
246 | 246 | blob is generated on the building machine. The generated preparation blob would |
247 | 247 | 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 |
249 | 249 | the snapshot at run time. |
250 | 250 |
|
251 | 251 | When `useSnapshot` is true, the main script must invoke the |
|