Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

webpack-dev-middleware + webpack-hot-middleware + express = this

Notifications You must be signed in to change notification settings

chrishoage/webpack-hot-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Webpack Hot Server

##Usage

var WebpackServer = require('webpack-hot-server');

new WebpackServer(webpack(webpackConfig), {
  publicPath: webpackConfig.output.publicPath,
  contentBase: './',
  hot: true,
  stats: true
}).listen(3000, 'localhost', (err) => {
  if (err) throw new gutil.PluginError('webpack', err)
  console.log('[webpack-server]', 'listening on localhost:3000')
})

About

webpack-dev-middleware + webpack-hot-middleware + express = this

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published