From mboxrd@z Thu Jan 1 00:00:00 1970 From: tyberius_prime@coonabibba.de (Tyberius Prime) Date: Thu, 08 May 2008 11:50:05 +0200 Subject: [sup-talk] Hook reloading In-Reply-To: <1210152344-sup-9178@h984274.serverkompetenz.net> References: <1210152344-sup-9178@h984274.serverkompetenz.net> Message-ID: <1210240114-sup-7457@h984274.serverkompetenz.net> Excerpts from Tyberius Prime's message of Wed May 07 11:25:59 +0200 2008: > and now I'm occacionaly greeted with > "[snip/.sup/hooks/open-thread.rb:21: warning: method redefined; discarding old > linkHTML". > I guess that happens every time sup reloads the hook in question. > > How can I get rid of the message? The answer is of course to wrap the function in an if !defined? functionName end block. > And can I force sup to reload its hooks (while developing)? -- So long, Tyberius Prime