introduce debounce on output updates + linked box

This commit is contained in:
David Meincke
2022-03-23 21:31:04 +01:00
parent f25f3daf7f
commit ad53ae9695
15 changed files with 211 additions and 45 deletions
+5 -5
View File
@@ -2,21 +2,21 @@ const WebpackDevServer = require("webpack-dev-server");
const webpack = require("webpack");
const codeeditorConfig = require("./webpack.dev.js");
const outputframeConfig = require("./webpack.dev-outputframe.js");
const outputframeConfig = require("./webpack.dev.outputframe.js");
const codeeditorCompiler = webpack(codeeditorConfig);
const outputframeCompiler = webpack(outputframeConfig);
const server1 = new WebpackDevServer(codeeditorCompiler, {
const server1 = new WebpackDevServer({
hot: true,
historyApiFallback: true
})
}, codeeditorCompiler);
const server2 = new WebpackDevServer(outputframeCompiler, {
const server2 = new WebpackDevServer({
hot: true,
historyApiFallback: true
})
}, outputframeCompiler);
server1.listen(8020, "localhost", function() { console.log("server 1 rdy"); })
server2.listen(8021, "localhost", function() { console.log("server 2 rdy"); })