{"size": 449, "ext": "js", "max_stars_repo_path": "webpack-debug.js", "max_stars_repo_name": "shlomiassaf/angular2-restyle-loader", "max_stars_repo_stars_event_min_datetime": "2016-12-31T01:06:34.000Z", "max_stars_repo_stars_event_max_datetime": "2017-04-05T12:12:43.000Z", "max_issues_repo_path": "webpack-debug.js", "max_issues_repo_name": "shlomiassaf/angular2-restyle-loader", "max_issues_repo_issues_event_min_datetime": "2017-06-22T16:10:11.000Z", "max_issues_repo_issues_event_max_datetime": "2017-06-22T16:10:11.000Z", "max_forks_repo_path": "webpack-debug.js", "max_forks_repo_name": "shlomiassaf/angular2-restyle-loader", "max_forks_repo_forks_event_min_datetime": "2017-04-07T22:45:50.000Z", "max_forks_repo_forks_event_max_datetime": "2019-05-05T09:18:14.000Z"}
{"max_stars_count": 3, "max_issues_count": 1, "max_forks_count": 2, "avg_line_length": 24.9444444444, "max_line_length": 72, "alphanum_fraction": 0.7416481069}
var WebpackDevServer = require("webpack-dev-server");
var webpack = require("webpack");

process.env.NODE_ENV = 'development';

var webpackConfig = require('./webpack.config.js');

webpackConfig.plugins.unshift(new webpack.HotModuleReplacementPlugin());

var compiler = webpack(webpackConfig); // load webpack
// run dev-server
var server = new WebpackDevServer(compiler, {
  contentBase: "src",
  hot: true,
  inline: true
});
server.listen(3000);
