You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.
Off a fresh generation of angular1 with gulp, typescript, sass, and systemJS I noticed changes to HTML files were not triggering a browserSync refresh every time. When I looked into it further, it would trigger a refresh the first time I made any changes to HTML files, but any subsequent changes would not trigger a refresh. To view those changes I had to ctrl + c and npm start serve.
Solution
I found this broswerSync issue that looked similar to my problem and tried the proposed solution there. I solved my problem by making changes to the watch function in gulpfile.js.
Let me know if I'm not seeing any consequences of this change. I tested changes to .scss and .ts files after and they still refreshed the browser normally.
First thank you to respect the issue template. I think you are the first 👏
Second your issue is already reported #50 and fixed FountainJS/generator-fountain-gulp#38.
We have not yet released a new version.
Keep this issue open to avoid other duplicate
Description - Problem
Off a fresh generation of angular1 with gulp, typescript, sass, and systemJS I noticed changes to HTML files were not triggering a browserSync refresh every time. When I looked into it further, it would trigger a refresh the first time I made any changes to HTML files, but any subsequent changes would not trigger a refresh. To view those changes I had to
ctrl + c
andnpm start serve
.Solution
I found this broswerSync issue that looked similar to my problem and tried the proposed solution there. I solved my problem by making changes to the
watch
function ingulpfile.js
.Before
After
Let me know if I'm not seeing any consequences of this change. I tested changes to
.scss
and.ts
files after and they still refreshed the browser normally.Error Message & Stack Trace
After editing an HTML file more than once:
Config
Environment
The text was updated successfully, but these errors were encountered: