This commit is contained in:
Taylor Bryant 2020-01-25 12:41:17 -06:00
parent 6b1291b7c0
commit 08648a119c

View File

@ -19,8 +19,7 @@ const isDevelopmentBuild = environment === DEVELOPMENT_ENVIRONMENT;
// Fix for Windows compatibility // Fix for Windows compatibility
const isWindowsPlatform = process.platform === "win32"; const isWindowsPlatform = process.platform === "win32";
const jekyll = isWindowsPlatform ? "jekyll.bat" : "jekyll"; const jekyll = isWindowsPlatform ? "jekyll.bat" : "jekyll";
const spawn = const spawn = isWindowsPlatform
isWindowsPlatform === "win32"
? require("win-spawn") ? require("win-spawn")
: require("child_process").spawn; : require("child_process").spawn;