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