Skip to main content
Inspiring
May 7, 2014
Question

How To Re-Compile ONE Component in Real-Time Without CF Restart?

  • May 7, 2014
  • 1 reply
  • 749 views

Is there a way? 

I've seen tricks for restarting the application, but I suspect this still kills all active sessions, and we have quite a few going on.

I just have one CFC I need to recompile to get some changes in place, but I don't want to upset the entire apple cart.

Is there a way?

RLS

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
May 8, 2014

Changing the code may be sufficient.

WiWildcatAuthor
Inspiring
May 8, 2014

I wish it was; if that were true, I wouldn't have asked this question. Changes I make are not immediately reflected on our busy system.  I found a reinit routine that someone wrote that works, but apparently it only works for the person who ran the reinit. Only a cf restart takes care of the whole shebang for everyone. RLS

BKBK
Community Expert
Community Expert
May 8, 2014

Another obvious suggestion: using cfcompile.