From 2e972fca44e21798ec8f48e75affef471483edbe Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Mon, 3 May 2021 17:34:10 +0200 Subject: [PATCH] =?UTF-8?q?:bug:=20r=C3=A9pare=20le=20mode=20--watch=20sur?= =?UTF-8?q?=20mon-entreprise=20x=20publicodes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Auparavant, les modifications sur publicodes ne lancaient pas de rebuild, il fallait tuer et relancer le process pour que cela marche. Incidement corrige la fuite mémoire du CTRL+C sur le yarn start --- mon-entreprise/dev-server.js | 4 +- mon-entreprise/package.json | 5 +- mon-entreprise/webpack.dev.js | 3 + package.json | 3 +- publicodes/core/package.json | 1 + publicodes/core/source/index.ts | 2 + yarn.lock | 141 +++++++++++++++++++++++++++++++- 7 files changed, 151 insertions(+), 8 deletions(-) diff --git a/mon-entreprise/dev-server.js b/mon-entreprise/dev-server.js index c24789420..7ccacbfc5 100644 --- a/mon-entreprise/dev-server.js +++ b/mon-entreprise/dev-server.js @@ -16,8 +16,8 @@ const rewrite = (basename) => ({ }) app.get('/', function (req, res) { - res.send(`