Forum: Ruby on Rails compromising development mode and production mode

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ca0b18ec9e11dc777b2b8084fe5d5f90?d=identicon&s=25 Sam Kong (ssk)
on 2009-04-09 08:38
Hi,

I have a very stupid question.

I run my rails application on phusion passenger.
As you know, in production mode I need to 'touch tmp/restart.txt' when
I've changed some files.
In development mode, it's not needed.

Can I run the production mode application like it's development mode so
that I don't need to 'touch tmp/restart.txt'?
Of course, I can set it to run in development mode.
However, I don't want any other development mode feature except that
'touch tmp/restart.txt' thing.

The application doesn't have to be fast.
So speed is not an issue here.

Thanks.

Sam
This topic is locked and can not be replied to.