1

I have a model like this:

<cfcomponent extends="Model">
<cffunction name="init">

</cffunction>

<cffunction name="config">
   ...
</cffunction>

<cffunction name="getLogsEncuestas">
    <cfreturn ...>
</cffunction>

I am creating the getLogsEncuestas method, but every time I made a change on it, I have to restart PC in order to updates get done.

I am using a CFWheels inside a ColdFusion server. I have tried to use wheels reload inside box command line and change the environment to development.

Any idea of how to reload model methods without restart server?

Thanks for your help!

Rodrigo R.
  • 25
  • 3
  • 1
    Go to CFadmin and look under *Server Settings > Caching* There's a checkbox *Trusted cache*. Uncheck this. There's also a button *Clear Template Cache Now*. Click this. – Bernhard Döbler Oct 31 '19 at 10:35
  • thank for the response, but still not working. May be CFWheels and not the CF server itself. – Rodrigo R. Oct 31 '19 at 10:41

1 Answers1

2

It's been a long time since I did anything with CFWheels, but /?reload=true is what I used in the past. Have you tried this yet?

Sev Roberts
  • 1,295
  • 6
  • 7
  • 1
    Also you will have to add the reloadPassword=yourPassword if you have set it in the config/settings.cfm. – W Gunvant Nov 04 '19 at 08:06
  • thank you so much, due to cfwheels have been installed on a coldfusion local server. You have to use a specific route on a domain for passing the /?reload=true. – Rodrigo R. Nov 04 '19 at 15:55