ahmadawais / WPGulp

An advanced Gulp workflow for WordPress development with extensive documentation. Used by 40,000+ themes and plugins.

Home Page:https://twitter.com/MrAhmadAwais/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gulp.bable.js not reading config vars

billNugz opened this issue · comments

I have followed the install instructions, but for what ever reason the gulp.bable.js file doesn't seem to be talking to the wpgulp.config.js file.

As an example I have to change my browser-sync init to the following to get browser to reload

browserSync.init({
//proxy: config.projectURL,
//open: config.browserAutoOpen,
//injectChanges: config.injectChanges,
proxy: 'dev.priebe.test',
open: false,
injectChanges: true,
watchEvents: [ 'change', 'add', 'unlink', 'addDir', 'unlinkDir' ]
});

My thanks in advance for all the work on this repo!

I had things configured wrong, apologies, feel free to point and laugh at your screen now.