Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Enable BrowserSync and Live Reload for WP development #84

Open
luboskmetko opened this issue Aug 27, 2014 · 3 comments
Open

Enable BrowserSync and Live Reload for WP development #84

luboskmetko opened this issue Aug 27, 2014 · 3 comments

Comments

@luboskmetko
Copy link
Member

Example of working configuration for BrowserSync

    browserSync: {
      src: {
        bsFiles: {
          src: [
            '<%= xh.dist %>/css/*.css',
            '<%= xh.dist %>/js/*.js',
            '<%= xh.dist %>/{img,media,fonts,xprecise}/**/*.*',
            '<%= xh.dist %>/**/*.html',
            'wp/wp-content/themes/**/*.php'
          ]
        },

        options: {
          watchTask: true,
          notify: false,
          proxy: "local.dev"
        }
      }
    },
@yuijim yuijim added this to the v0.5.5 milestone Oct 31, 2014
@piotrkulpinski
Copy link
Contributor

Hi guys,
Recently I ran into some nice screencast showing latest features of BrowserSync in terms of WP development: http://quick.as/pkri6dz

Maybe we could think of some nice new features for future releases of generator.
@luboskmetko I especially would like to hear your thoughts and ideas as it was your idea at the first place :)

Cheers, Piotrek

@luboskmetko
Copy link
Member Author

Looks good to me, Piotrek! :) We definitely could use what's already available there.

@yuijim yuijim modified the milestones: v0.7, v0.6 Jan 19, 2015
@piotrkulpinski
Copy link
Contributor

I'm using the solution described in the screencast above for some time now and it's working perfectly so far. I think it's good time to implement it now.

@piotrkulpinski piotrkulpinski modified the milestones: v0.8, v0.7 Nov 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants