Do I have to restart Geddy after every change made to a controller/model? #194

Closed
ehudros opened this Issue Sep 18, 2012 · 3 comments

Comments

Projects
None yet
3 participants

ehudros commented Sep 18, 2012

I'm coming from Rails, which loads all controllers/models every request. Seems like I have to kill/restart Geddy after every change I make to my code, which is quite annoying...
I've played with vanila Node and found Superviser to do just this, but couldn't get it to work with Geddy's startup code. Anything I'm missing here?

Contributor

Techwraith commented Sep 18, 2012

Also, @mde pushed a fix to the remove-model branch for this - this should be fixed with the 0.5.0 release of Geddy (coming soon)

ehudros commented Sep 18, 2012

Cool, thanks for the quick response.
It works, but I had to install Geddy lcoally (it failed to required the geddy module even though it was installed globally).
Now I just have to figure out how to tell supervisor to delete the log files manually from /log (log rotation seems to be broken on windows)

Contributor

larzconwell commented Oct 7, 2012

I'm going to close this as the processes correctly restart since @mde merged in the new model code.

larzconwell closed this Oct 7, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment