From d12245308b6bfc3c7c12e4fc3c68bb77873da8f1 Mon Sep 17 00:00:00 2001 From: Westly Wright Date: Tue, 3 Jul 2018 15:07:49 -0700 Subject: [PATCH] dbug --- gulpfile.babel.js | 3 +++ scripts/build-algolia.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/gulpfile.babel.js b/gulpfile.babel.js index f10f9464060..9a6c6f15b04 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -19,6 +19,9 @@ const isProduction = process.env.NODE_ENV === 'production'; const onError = (err) => { console.log(err); } +console.log('&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&') +console.log(process.env) +console.log('&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&') process.on('SIGINT', () => { console.log('Caught SIGINT, exiting'); diff --git a/scripts/build-algolia.js b/scripts/build-algolia.js index 5508c61fa25..8432ac104fb 100755 --- a/scripts/build-algolia.js +++ b/scripts/build-algolia.js @@ -11,6 +11,9 @@ const nue = []; const rawdata = fs.readFileSync('public/algolia.json'); const nodes = JSON.parse(rawdata); +console.log('&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&') +console.log(process.env) +console.log('&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&') nodes.forEach(node => { const dom = new JSDOM(node.content); const content = dom.window.document.body; //post content wrapped in a body tag