Skip to content

Uncaught RangeError: Maximum call stack size exceeded from browser-sync-client.2.8.0.js #57

@unlight

Description

@unlight


config:

    browserSync.init({
        logLevel: "debug",
        server: {
            baseDir: "./src",
            // directory: true,
            index: "index.html",
            routes: {
                "/node_modules": "node_modules",
            }
        }
    });

Html

<!DOCTYPE html>
<html>
<head>
    <title>Index</title>
</head>
<body>

</body>
</html>

Source after start:

...
<body><script type='text/javascript' id="__bs_script__">//<![CDATA[
    document.write("<script async src='/browser-sync/browser-sync-client.2.8.0.js'><\/script>".replace("HOST", location.hostname));
//]]></script>

Env:
Browser: 5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2464.0 Safari/537.36
Node 0.12.6 Win8
browser-sync: 2.8.0

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