aboutsummaryrefslogtreecommitdiff
path: root/vnext/server.js
blob: 600e954a5f9a81c8d989caa0b00d6aee19f0f15d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
var webpack = require("webpack");
var WebPackDevServer = require("webpack-dev-server");
var config = require("./webpack.config");

new WebPackDevServer(webpack(config), {
    publicPath: config.output.publicPath,
    hot: true,
    inline: true,
    historyApiFallback: true
}).listen(3000, 'localhost', function (err, result) {
    if (err) {
        return console.log(err);
    }
    console.log("listening")
})