Markup / scss refactor WIP

Fixes #2140
- Add timestamp to webpack build
This commit is contained in:
charlesh88 2018-08-08 18:06:11 -07:00
parent dd93653306
commit 4d9b7fe3e4

1
app.js
View File

@ -43,6 +43,7 @@ app.use('/proxyUrl', function proxyRequest(req, res, next) {
const webpack = require('webpack');
const webpackConfig = require('./webpack.config.js');
webpackConfig.plugins.push(new webpack.HotModuleReplacementPlugin());
webpackConfig.plugins.push(function() { this.plugin('watch-run', function(watching, callback) { console.log('Begin compile at ' + new Date()); callback(); }) });
webpackConfig.entry.openmct = [
'webpack-hot-middleware/client',