Starting on "production" target on Wappler startup question

Wappler 7.3.2
NodeJS

Hey everyone..
Maybe I have the wrong idea on this, but something seems strange to me..

But does Wappler try to run the server on a production target when it starts the editor? It's ok with that?:

When changing from development to production (or opening on development and then changing to production) the whole output is different:

Just asking if it's normal this behaviour, because at first, the green dot looks like something is running which is not present on the second case..
Thanks!

Your app should be running on your server at all times unless a restart is forced such as after publishing.
So i dont think wappler interacts with the production target in the same way it monitors the develoment target.

Yes but at the top of the output log:

You using docker?

Not using docker

Sorry, i have not idea what is happening then.
I use a vps and no docketr.
I get no log output on target switch nor do i have a green server running indicator.

Just a random idea, check your project settings and make sure your production target, in the usage tab, is actually set to Production and not Development as this would cause server to try and start.

Wappler shouldn’t start any local web servers when you are in production target. I will check it out.

Do note that the active target is remembered so after restart it is again made active.

When exactly the web server get started? When you open Wappler or when you switch to production target?

Done some checks, i think my suggestion above is the cause, i think the production targets usage is set to development, not production

Yes indeed do make sure @franse that your production targets have usage ‘production’ and not ‘development’

anyway - found the problem and it will be fixed in the next update.

Was indeed when starting up wappler in production target already, then the target usage wasn't check

Fixed in Wappler 7.3.3

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.