[jbosstools-issues] [JBoss JIRA] (JBIDE-22362) Server Adapter: Static changes done to nodejs application are not visible

Ilya Buziuk (JIRA) issues at jboss.org
Tue Jun 21 08:45:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-22362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255097#comment-13255097 ] 

Ilya Buziuk commented on JBIDE-22362:
-------------------------------------

{quote} 
So we do export DEV_MODE=true when OS Server adapter is run in Debug mode.
{quote} 

[~akazakov], yes. However, as I understand the issue is about enabling DEV_MODE also for vanilla run (it is still not clear though, what user will have to do in order to run the image in the producion mode. I guess the only way would be manually setting DEV_MODE to false via Manage Environmental Variables - are you guys ok with it ?)

[~mlabuda], well if it is going to be fixed upstream than I guess nothing should be done on the server adapter side. 
{quote}
So from user point of view, there will be slight difference between having only DEV_MODE set to true and having an application in debug mode via server adapter.
{quote}
Actually, DEV_MODE is tightly coupled with debugging - https://github.com/sclorg/s2i-nodejs-container/tree/master/0.10#development-mode
{code}
By default, DEV_MODE is set to false, and DEBUG_PORT is set to 5858, however the DEBUG_PORT is only relevant if DEV_MODE=true.
{code}

> Server Adapter: Static changes done to nodejs application are not visible
> -------------------------------------------------------------------------
>
>                 Key: JBIDE-22362
>                 URL: https://issues.jboss.org/browse/JBIDE-22362
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.4.0.Alpha2
>            Reporter: Marián Labuda
>            Assignee: Marián Labuda
>            Priority: Critical
>              Labels: openshift_v3, server_adapter
>             Fix For: 4.4.1.S116
>
>
> I am having an OpenShift application based either on nodejs-example or nodejs-mongodb-example template. Once application is up and running I create a new server adapter and perform changes in index.html. These changes are static and should be (?) immediately visible on OpenShift server, but they are not. I have checked whether changes were published, but rsync in console shows expected output also changes done manually on the server side to index.html are not visible in browser (even when cache overwritten is triggered - so there is no caching problem in browser). This seems to be upstream issues, but requires investigating.
> So far I have tried it on CDK OpenShift. It would be nice to test it on other OpenShift instances, also on templates using different base docker image.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list