Grails auto reload functionality in run-app on a custom environment

后端 未结 3 1550
旧时难觅i
旧时难觅i 2020-12-16 12:18

When running a custom environment with grails via grails -Dgrails.env=custom run-app it appears that the auto reload / hot deploy is turned off, does anyone know how to arbi

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-16 12:48

    The flag you want is "disable.auto.recompile", ex:

    grails -Dgrails.env=custom -Ddisable.auto.recompile=false run-app
    

提交回复
热议问题