vaderjs 2.3.9 → 2.3.11
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/main.js +2 -2
- package/package.json +1 -1
package/main.js
CHANGED
|
@@ -102,7 +102,7 @@ export function defineConfig(config) {
|
|
|
102
102
|
return config;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
async function runPluginHook(hookName) {
|
|
105
|
+
async function runPluginHook(hookName) {
|
|
106
106
|
if (!config.plugins) return;
|
|
107
107
|
for (const plugin of config.plugins) {
|
|
108
108
|
if (typeof plugin[hookName] === "function") {
|
|
@@ -527,7 +527,7 @@ async function main() {
|
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
// Load config for runtime commands
|
|
530
|
-
|
|
530
|
+
config = await loadConfig();
|
|
531
531
|
config.port ||= 3000;
|
|
532
532
|
|
|
533
533
|
switch (command) {
|