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

404 Error when live reloading ASP files #114

Open
jimbateson opened this issue Jul 22, 2015 · 1 comment
Open

404 Error when live reloading ASP files #114

jimbateson opened this issue Jul 22, 2015 · 1 comment

Comments

@jimbateson
Copy link

Hi

We are experiencing issues when trying to live reload changes to ASP files. The changes are applied sometimes, however most of the time when browsersync refreshes the page this error is shown.

HTTP/1.1 404 Not Found

Not very helpful I know!

The source code on that page still shows the browsersync script though

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

After another refresh the page appears again with the changes applied, making another change throws this error again. However the "connected to browsersync" message still shows in the top right corner.

Has anybody ever come across this issue before? I'm not ruling out that this could be an IIS config issue.

Any help would be much appreciated.

Thankyou

@Jasonlhy
Copy link

I also faced this issue, I found two solution to solve the problem.

  1. Save the file twice
  2. Set "reloadDelay" : 500 to delay the reload

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

2 participants