From e9d410c177aa8c73d909c1330621b90783639989 Mon Sep 17 00:00:00 2001 From: ekhaled Date: Fri, 6 Apr 2018 16:13:41 +0100 Subject: [PATCH] closes #52 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 53c51517..7c2b6ddb 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ function makeHot(id, code, hotOptions) { if (module.hot) { - const { configure, register, reload } = require('${hotApi}'); + const { configure, register, reload } = require('${posixify(hotApi)}'); module.hot.accept();