Project

General

Profile

Reloading Plugins in development mode

Added by Marcel Hild over 14 years ago

Is there a way to reload the models from a plugin in development mode? Controllers and Views work fine, but for a model I have to restart the server :(

marcel


Replies (5)

RE: Reloading Plugins in development mode - Added by Marcel Hild over 14 years ago

hmm. nobody?
Do you also restart the server for that reason?

RE: Reloading Plugins in development mode - Added by Andrew Chaika over 14 years ago

I think that there is no reason to change model frequently

RE: Reloading Plugins in development mode - Added by Marcel Hild over 14 years ago

Well, if I am developing a plugin I am sure changing code in my model. I want to keep the controllers clean and lean :)
But its ok for me to restart frequently, I was just wondering...

RE: Reloading Plugins in development mode - Added by Eric Davis about 14 years ago

I restart the server while changing models. But I do about 90% of my model development through unit tests so I only need to start the server for a final walkthrough test.

Eric Davis

RE: Reloading Plugins in development mode - Added by Gui MOC about 14 years ago

HI,

may one of yours explain me how to change my plugin model ?
i need to add a field but i do not understand how i should use script/generate.

I thank you in advance.

Guillaume

    (1-5/5)