If you're working locally, you should treat your htdocs folder like any other. Simply use the terminal to go to that location and then use the workflow. If needed, you can change the folder paths using the
paths object from
gruntfile.js. Finally, you would access your site using the link Browsersync generated for you.
One important change here tho: if you're using a PHP server, you'll need to use the proxy option like this:
// Using a localhost address with a port
localhost:8888 with the address generated by XAMPP.
So your browserSync task might look like this:
src: ['<%= paths.app_css %>/*.css', '<%= paths.app %>/*.html', '<%= paths.app_js %>/*.js']
I hope this makes sense. If you have any more problems let me know Cheers!