livereload-vscode icon indicating copy to clipboard operation
livereload-vscode copied to clipboard

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

Open clrncmcnlsn opened this issue 6 years ago • 5 comments

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.

clrncmcnlsn avatar Dec 01 '18 11:12 clrncmcnlsn

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

ziishaned avatar Dec 01 '18 12:12 ziishaned

@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.

clrncmcnlsn avatar Dec 03 '18 01:12 clrncmcnlsn

Same issue here... Any solutions?

shisaq avatar Dec 24 '18 02:12 shisaq

Maybe upgrading VS Code to the latest version might help

ziishaned avatar Jul 30 '19 07:07 ziishaned

Has anyone fixed this problem?

brada1703 avatar Nov 17 '19 16:11 brada1703