I’m trying out Lucee 6.2.1 and have set the `Inspe...
# lucee
d
I’m trying out Lucee 6.2.1 and have set the
Inspect Templates
option to
Never
in our base image (based on our
.CFConfig.json
file for our base image). How do I make it so that it will inspect template changes always (or Once) when developing locally? It doesn’t appear there is an Application.cfc setting for this, but the Admin does reference a System Property or Environment Variable (see screenshot). I used that env variable of
LUCEE_INSPECT_TEMPLATE="once"
in an .env file for an app, similar to
LUCEE_EXTENSIONS
to install whatever extensions I want, but it doesn’t seem to respect the env variable for the inspect template option. The Admin always shows “Never” and I have to restart the container to reflect any changes. Is anyone solving this a different way? I want to never inspect template changes in Prod, QA, DEV, but Always (or Once) locally. Thoughts?
c
Hey Dan, I defined my own var in my .env, set that to always for dev, never for prod, and use the cfconfig option "inspectTemplate": "${INSPECTTEMPLATE}" The LUCEE_INSPECT_TEMPLATE var didn't work for me either
d
Sounds like there may be a bug with the LUCEE_INSPECT_TEMPLATE variable?
z
seems the env var is only applied if there is no
CFconfig.json
set https://luceeserver.atlassian.net/browse/LDEV-5407
👀 1