🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

c-webpack-dev-server

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c-webpack-dev-server

Serves a webpack app. Updates the browser on changes.

2.8.4
Version published
Maintainers
1
Created

sockjsPrefixed webpack-dev-server

webpack-dev-server

npm node deps tests coverage chat

webpack Dev Server

Use webpack with a development server that provides live reloading. This should be used for development only.

It uses webpack-dev-middleware under the hood, which provides fast in-memory access to the webpack assets.

Install

npm install webpack-dev-server --save-dev

Usage

The easiest way to use it is with the CLI. In the directory where your webpack.config.js is, run:

node_modules/.bin/webpack-dev-server

This will start a server, listening on connections from localhost on port 8080.

Now, when you change something in your assets, it should live-reload the files.

See the documentation for more use cases and options.

Contributing

We appreciate all help! Check out CONTRIBUTING.md for more information on how to help.

Maintainers


Kees Kluskens

Inspiration

This project is heavily inspired by peerigon/nof5.

LICENSE

MIT

FAQs

Package last updated on 10 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts