Questions tagged [grunt-browser-sync]

7 questions
2
votes
1 answer

BrowserSync reloads browsers before task has finished when using Grunt

I have the following configuration for BrowserSync task: "dev": { "files": [ { "expand": true, "cwd": "<%= paths.src %>", "src": "**/*" } ], "options": { "watchTask": true, …
2
votes
1 answer

Grunt browserSync grunt-php does not reload PHP files on change

I am using Grunt + browserSync + grunt-php. The server starts normally. The problem is that whenever I make changes to PHP files, the changes are not reloaded automatically in browser. I have to manually reload the page despite having the settings…
Devner
  • 6,825
  • 11
  • 63
  • 104
1
vote
0 answers

Running browserSync proxy (grunt) with Visual Studio code using IIS Express extension

What I am trying to achieve is running browserSync with grunt while using Visual studio code editor with the IIS Express Extension installed. I can ran both IIS (Viusal Studio code extension) and browserSync using…
0
votes
1 answer

Browser Sync using Grunt - Browser says 'the site cannot be reached', but it works on my other laptop

I have a site setup which works on my work laptop, all of the Windows machines in the office but when I have gone to run 'grunt' on my personal machine it is not working. I work using browserSync a lot on my personal machine, and just double checked…
ChrisD
  • 59
  • 7
0
votes
0 answers

How do I serve a Jekyll site locally with Grunt BrowserSync and watch for Sass and Jekyll changes?

I am trying to get a boilerplate template setup using Grunt, BrowsersSync, Jekyll and Sass. I have been working on and off of this for a couple of days and there is always a tripping point. I am hoping someone has some experience with this and can…
0
votes
2 answers

Use grunt-browser-sync to watch changes in jsp and tag files

I'm trying to use the grunt-browser-sync to watch the changes in the jsp and tag files, but the same is not working. Does anybody know what`s happening? Grunt works with tag and jsp files? module.exports = function(grunt) { // Project…
0
votes
1 answer

Browsersync doesn't detect file changes with Drupal Basic Theme Grunt config

When I use BrowserSync directly from the command line it works fine. But when I use the Grunt file from the Drupal Basic theme, BrowserSync is not detecting changes being made to the SASS and CSS files. Whereas the SASS to CSS conversion is working…
0711master
  • 187
  • 4
  • 13