3

I'm trying to get my page to refresh automatically with grunt watch and when to do this on index.html:

<script src="//localhost:35729/livereload.js"></script>

I am getting the error http://localhost:35729/livereload.js net::ERR_CONNECTION_REFUSED

how can I fix this?

SuperUberDuper
  • 9,242
  • 9
  • 39
  • 72

1 Answers1

5

try this out :

don't use this :

<script src="//localhost:35729/livereload.js"></script>

use this :

 <script src="http://localhost:35729/livereload.js"></script>

i hope it will work

Abdo Hassan
  • 61
  • 2
  • 4