Skip to content

index.html changes get reloaded one save behind #660

@slawojstanislawski

Description

@slawojstanislawski

When I introduce changes into .html files placed somewhere under /app folder, right after the save operation the changes are reflected in the browser, live reload works fine. But when I introduce changes to the src/index.html file, the change is reflected in the browser only after saving another (second) change. So live reload is one step behind on changes in the src/index.html file.
I thought changing line 36 in gulp/watch.js from:

    gulp.watch(path.join(conf.paths.src, '/app/**/*.html'), function(event) {

to:

    gulp.watch(path.join(conf.paths.src, '/**/*.html'), function(event) {

would help, but it didn't change the behavior.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions