ziishaned / livereload-vscode

LiveReload plugin for VS Code
MIT License
33 stars 7 forks source link

VS Code and Browser Extensions Communicate but Auto-Reload Isn't Triggered #13

Open clrncmcnlsn opened 5 years ago

clrncmcnlsn commented 5 years ago

I hope this repo is still alive..

The webpage doesn't get automatically reloaded upon saving my work on any of the Blade views / controllers / models. I've only managed to get this to work once using VS Code.

I'm using LiveReload with Sublime Text 3 without having the same issue.

ziishaned commented 5 years ago

It is working fine for me can you please follow the below steps:

  1. Kill the process running on the 35729 port.
  2. Run the livereload command from vscode image
  3. Open your application inside the browser.
  4. Click on the LiveReload extension: screen_shot_2018-12-01_at_5_01_19_pm
clrncmcnlsn commented 5 years ago

@ziishaned thank you for your response.

The server is run through: image

Should this be a conflict or should it be left as is? I tried running php artisan serve --host 192.168.1.3 --port 8000 but still can't get it to work.

I just recently switched from Sublime Text 3 to Visual Studio Code. Normally I just run the artisan command, enable the LiveReload extension, and do my work on Sublime. Any changes saved automatically reloads the tab on my browser.

EDIT: php artisan serve which hosts 127.0.0.1:8000 still doesn't work. Tested with Sublime without any problems.

shisaq commented 5 years ago

Same issue here... Any solutions?

ziishaned commented 5 years ago

Maybe upgrading VS Code to the latest version might help

brada1703 commented 4 years ago

Has anyone fixed this problem?