dank-ai 1.0.38 → 1.0.39
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.
|
@@ -144,6 +144,8 @@ async function productionBuildCommand(options) {
|
|
|
144
144
|
// Get project directory (directory containing the config file)
|
|
145
145
|
const projectDir = path.dirname(configPath);
|
|
146
146
|
|
|
147
|
+
// Clear require cache to get fresh config (important for development)
|
|
148
|
+
delete require.cache[require.resolve(configPath)];
|
|
147
149
|
const config = require(configPath);
|
|
148
150
|
if (!config.agents || !Array.isArray(config.agents)) {
|
|
149
151
|
throw new Error('No agents found in configuration');
|