Disable auto-reloading

930 views
Skip to first unread message

Christian Schmitt

unread,
Apr 1, 2015, 3:55:25 AM4/1/15
to play-fr...@googlegroups.com
is there a way to disable play's auto-reloading feature?

Donovan Muller

unread,
Apr 1, 2015, 4:21:55 AM4/1/15
to play-fr...@googlegroups.com
Hi Christian,

You could run in production mode?

activator start

Christian Schmitt

unread,
Apr 1, 2015, 4:58:21 AM4/1/15
to play-fr...@googlegroups.com
Hello,

currently I try to run jrebel with playframework and production mode does not help since it won't reload my routes.
--
You received this message because you are subscribed to a topic in the Google Groups "play-framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/97loetXT1dU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Igmar Palsenberg

unread,
Apr 1, 2015, 6:39:00 AM4/1/15
to play-fr...@googlegroups.com
 
currently I try to run jrebel with playframework and production mode does not help since it won't reload my routes.

Then why disabling  the auto-reloading ? If you want to reload when something has changed, you need to run dev mode.
I don't see the point of having production mode, and then reloading.


Igmar 

Christian Schmitt

unread,
Apr 1, 2015, 7:40:10 AM4/1/15
to play-fr...@googlegroups.com
Since i want to use JRebel which only reloads certain class files instead of the whole application.
It's way faster than the internal auto-reloading of play!

--

Naftoli Gugenheim

unread,
Apr 2, 2015, 2:48:37 AM4/2/15
to play-fr...@googlegroups.com

Maybe ~compile or ~stage would help?


You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.

kah...@etleap.com

unread,
Apr 19, 2016, 3:13:21 PM4/19/16
to play-framework
I also really want to disable auto-reloading but cannot use production mode (because our code base cannot run in production mode in development boxes). It's especially painful when I am doing some long running tasks, I need to re-clone the repository and create a new IDE project to make sure that they won't interfere with the current running process.

Greg Methvin

unread,
Apr 19, 2016, 9:25:19 PM4/19/16
to play-framework
I'm not sure why you'd have an issue running in prod mode on development boxes. Just make sure you're using the same configuration you use in dev mode.

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Greg Methvin
Senior Software Engineer

kah...@etleap.com

unread,
Apr 20, 2016, 1:18:16 PM4/20/16
to play-framework
The issue is that our codebase checks for prod mode and does things that need to happen in prod mode.
Reply all
Reply to author
Forward
0 new messages