# Compromising development mode and production mode

**URL:** <https://www.ruby-forum.com/t/compromising-development-mode-and-production-mode/165111>\
**Category:** Rails\
**Created:** [April 9, 2009, 8:38am UTC](https://www.ruby-forum.com/t/compromising-development-mode-and-production-mode/165111 "2009-04-09T08:38:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/82dd89/32.png) [@ssk](https://www.ruby-forum.com/u/ssk)\
**Post date:** [April 9, 2009, 8:38am UTC](https://www.ruby-forum.com/t/compromising-development-mode-and-production-mode/165111/1 "2009-04-09T08:38:18Z")

</div>

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
