dsh-unlag 1.9.16 → 1.9.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +6 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -386,6 +386,12 @@ function pluginReloader(ctx, config) {
|
|
|
386
386
|
log(
|
|
387
387
|
`plugins reloaded (warnings=${warnings.length} pending=${pending.length}${restartReason === null ? '' : ` restart=${restartReason}`})`,
|
|
388
388
|
)
|
|
389
|
+
/**
|
|
390
|
+
* The count alone cannot say which plugin is not serving now, and that is what a person sees
|
|
391
|
+
* afterwards. The app's own sentence is passed on, cut short so one entry cannot fill the log.
|
|
392
|
+
*/
|
|
393
|
+
for (const entry of failedEntries.slice(0, 5)) log(`a plugin did not come back: ${entry.slice(0, 200)}`)
|
|
394
|
+
if (failedEntries.length > 5) log(`and ${failedEntries.length - 5} more did not come back`)
|
|
389
395
|
return { status: 'done', warnings, pending, restartReason, failedEntries }
|
|
390
396
|
}
|
|
391
397
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-unlag",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.17",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A press applies plugin edits right away and brings a laggy interface back; automatic reloading stays off unless you turn it on, so the press is the only trigger, and nothing restarts.",
|
|
6
6
|
"license": "MIT",
|