OpenDroneMap-WebODM/webpack-server.js

16 wiersze
383 B
JavaScript
Czysty Zwykły widok Historia

let webpack = require('webpack');
let WebpackDevServer = require('webpack-dev-server');
let config = require('./webpack.config');
2017-10-31 09:31:27 +00:00
//ajax code
new WebpackDevServer(webpack(config), {
publicPath: config.output.publicPath,
hot: true,
inline: true
}).listen(3000, '0.0.0.0', (err, result) => {
if (err) {
console.log(err);
}
console.log('Listening at 0.0.0.0:3000');
2017-10-31 09:31:27 +00:00
})