Skip to content

Commit d6b41bb

Browse files
committed
update: 开启热加载 reload,基于 inotify 仅支持 Linux。
1 parent 6ab594b commit d6b41bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/config/laravels.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
'handle_static' => env('LARAVELS_HANDLE_STATIC', false),
1313
'laravel_base_path' => env('LARAVEL_BASE_PATH', base_path()),
1414
'inotify_reload' => [
15-
'enable' => env('LARAVELS_INOTIFY_RELOAD', false),
15+
'enable' => env('LARAVELS_INOTIFY_RELOAD', true),
1616
'watch_path' => base_path(),
1717
'file_types' => ['.php'],
1818
'excluded_dirs' => [],

0 commit comments

Comments
 (0)