diff --git a/config/process.php b/config/process.php index fdda315..83f9b0d 100644 --- a/config/process.php +++ b/config/process.php @@ -20,14 +20,14 @@ 'reloadable' => false, 'constructor' => [ // Monitor these directories - 'monitor_dir' => [ + 'monitor_dir' => array_merge([ app_path(), config_path(), base_path() . '/process', base_path() . '/support', base_path() . '/resource', base_path() . '/.env', - ], + ], glob(base_path() . '/plugin/*/{app,process,config,resource,support}', GLOB_BRACE)), // Files with these suffixes will be monitored 'monitor_extensions' => [ 'php', 'html', 'htm', 'env'