diff options
| author | Jessica Parsons <verythorough@gmail.com> | 2017-03-24 23:08:44 -0700 |
|---|---|---|
| committer | Jessica Parsons <verythorough@gmail.com> | 2017-03-24 23:08:44 -0700 |
| commit | 7ff856bb54cb14e3531897a284d8bfec91ac9bc3 (patch) | |
| tree | fcd44ef2645f39c9ded4bf6d32728cb17346f403 | |
| parent | 0c859c5940be3a1c52dc30f72ba76443b4cb3796 (diff) | |
Fix Windows detection in gulpfile
| -rw-r--r-- | gulpfile.babel.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 7d498fe..6681944 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -14,7 +14,7 @@ import replace from "gulp-replace"; import cssnano from "cssnano"; const browserSync = BrowserSync.create(); -const hugoBin = `./bin/hugo.${process.platform === "windows" ? "exe" : process.platform}`; +const hugoBin = `./bin/hugo.${process.platform === "win32" ? "exe" : process.platform}`; const defaultArgs = ["-d", "../dist", "-s", "site"]; gulp.task("hugo", (cb) => buildSite(cb)); |
