"autoload": {
"psr-4": {
"": "test/"
}
}
我在跟目錄加了一個目錄:test
然后再:config/process.php 增加了:
run_path() . '/test',
然后在/config/route.php 中自動路由了目錄下控制器文件
Route::any('/test/{controller}[/{action}]' ..... ***
啟動webman后訪問:http://xxx/test/ceshi/index 沒問題能正確訪問/test/ceshi.php 里面的index方法
但是當(dāng)我修改ceshi.php 里面文件內(nèi)容后不生效 ,終端也有提示:
/test/ceshi.php update and reload
Workerman[webman] reloading
但是刷新:http://xxx/test/ceshi/index 頁面內(nèi)容并沒有被改變,請問這是為什么?如何解決!