Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
unlight opened this issue Jul 25, 2015 · 1 comment

Comments

@unlight
Copy link

unlight commented Jul 25, 2015


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

@unlight
Copy link
Author

unlight commented Jul 25, 2015

Reproducable when devtools is open.
If closed, everything works ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant