diff --git a/scripts/start-node.js b/scripts/start-node.js index f96c13a..d6b7348 100644 --- a/scripts/start-node.js +++ b/scripts/start-node.js @@ -49,7 +49,7 @@ const startServer = compiler => { // now we can get the latest version of our server // eslint-disable-next-line global-require, import/no-unresolved - server = require(serverPath).default; + server = require(serverPath); console.warn('[\x1b[35mHot Reload\x1b[0m] Server has been reloaded.'); } catch (runtimeError) {