且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Playframework中更改自定义文件后重新加载应用

更新时间:2023-11-26 23:27:58

我从未尝试过这样做,但是经过调查,我注意到了

I've never tried to do this, but after investigating, I noticed that

watchSources <+= confDirectory map { _ / "routes" }

自然地指向conf(conf/routes)中的路由文件.您是否有可能忘记将文件"trigger"放入conf(conf/trigger)中?

naturally points to the routes file in conf (conf/routes). Is it possible you forgot to put the file "trigger" in conf (conf/trigger)?