Support for webpack-dev-server in development mode

Open
#202 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, webpack
Domain
devops

Research direction

Start by reading the s2i run script and trace how DEV_MODE, NODE_ENV, and NPM_RUN control hot deployments. Done means webpack-dev-server can be selected for hot deployments without requiring inconsistent build and deploy environment values.

Written by the indexing model from the issue text.

Description

The s2i run script only supports nodemon for hot deployments when DEV_MODE=true. To use webpack-dev-server, I can set DEV_MODE=false and then override NPM_RUN but that results in my build and deploy env using different values for DEV_MODE and NODE_ENV.

Perhaps the run script can be updated with a new environment variable so hot deployments can be started with a different package than nodemon.

Dominant language
Shell
Stars
173
Forks
288
Avg merge
6d 1h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sclorg/s2i-nodejs-container

All issues in sclorg/s2i-nodejs-container

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.