Skip to content

BrowserSync doesn't reload *.xhtml files #149

@garconvacher

Description

@garconvacher

Hi,
BrowserSync don't work with *.xhtml files (EPUB stuff).
My files start with:

<?xml version="1.0" encoding="UTF-8" standalone="no"?> 
<!DOCTYPE html>
<html xmlns:epub="http://www.idpf.org/2007/ops" xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">

When I save my files, output is:

[Browsersync] Watching files...
[Browsersync] Reloading Browsers...

...but browser doesn't reload the page.

If I change the extension of my files to *.html and replace xhtml by html in my gulpfile, browser reload the page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions