Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Help With grunt together with Wordpress

Hi does anybody have any experience with grunt and wordpress working together? I want my grunt working together with wordpress so for example my pages refresh when adjusting my wordpress templates. Is there someone who could help me with this?

5 Answers

Hey Kevin,

Yes i've installed the watch plugin but i cant get the livereload to work on my wordpress projects

What does your code look like?

I have it running on my localhost (MAMP pro) currently. But i also want to refresh other devices on the page via my lan connection. Couldnt find out how to get that to work

I doubt that's supported, since grunt can force a refresh on the machine it's hosted on, I've never seen any mention about supporting refreshes on other devices via lan. If you can find documentation and a package for it, I'll help you set it up, but I've never seen it. Sorry man.

I was thinking you wanted it to refresh after changing php files or what not.