Skip to content
This repository has been archived by the owner on Jul 29, 2018. It is now read-only.

Node.js applications are not editable out of the box #151

Open
mlabuda opened this issue Jun 15, 2016 · 3 comments
Open

Node.js applications are not editable out of the box #151

mlabuda opened this issue Jun 15, 2016 · 3 comments

Comments

@mlabuda
Copy link

mlabuda commented Jun 15, 2016

Basically, when I create a new Node.js application, changes done even to static content (such as .html, xhtml pages etc.) are not shown until I restart server. So all rsynced changes won't get effect until I restart it. There is a official way to develop and that is setting up DEV_MODE environment variable to true, which enables nodemon to check changes and restart application. Because there is almost zero turnaround for restarting Node.js application, I think it would be good to have DEV_MODE set to true by default to allow users modify their applications out of the box - without any need to add environment variable to deployment and respin application pod.

See also https://issues.jboss.org/browse/JBIDE-22362 for more reference to this issue.

@mlabuda mlabuda changed the title Node.js application is not editable out of the box Node.js applications are not editable out of the box Jun 15, 2016
@praveenkumar
Copy link
Contributor

@hferentschik Any opinion about it?

@hferentschik
Copy link
Contributor

+100, but afaiu this is a problem of the s2i for NodeJS. I don't think this is something we control.

@hferentschik
Copy link
Contributor

My guess is that this is the place to look https://github.com/sclorg/s2i-nodejs-container

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants