Skip to content
This repository has been archived by the owner on Aug 19, 2019. It is now read-only.

start-runner/webpack-dev-server

Repository files navigation

start-webpack-dev-server

npm linux build windows build coverage deps

Webpack dev-server 2 task for Start. You might also need start-webpack.

Install

npm install --save-dev start-webpack-dev-server
# or
yarn add --dev start-webpack-dev-server

Usage

import Start from 'start';
import reporter from 'start-pretty-reporter';
import webpackDevServer from 'start-webpack-dev-server';

const start = Start(reporter());

export const dev = () => start(
  webpackDevServer(require('conf/webpack.dev'))
);

See documentation for details.

Arguments

webpackDevServer(config, devServerOptions, serverOptions)