From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Thu, 08 May 2008 23:10:12 -0700 Subject: [sup-talk] Hook reloading In-Reply-To: <1210152344-sup-9178@h984274.serverkompetenz.net> References: <1210152344-sup-9178@h984274.serverkompetenz.net> Message-ID: <1210313221-sup-40@south> Reformatted excerpts from Tyberius Prime's message of 2008-05-07: > can anyone elucidate me on the subject of when (or how) sup reloads > it's hooks? A hook is only read from disk the first time it's called. Every time the hook is called, that code is evaluated, so if you have a function definition in there, it will be give that warning. You can ignore the warning, or you can wrap it in a "unless defined?" as you point out. > And can I force sup to reload its hooks (while developing)? There's no way to do this, but I agree it would be nice and wouldn't be too hard to add... -- William