Skip to main content

Questions tagged [livereload]

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Watcher for phtml and JS files also

That will be fine to make able grunt livereload watcher for phtml and JS files also. Any ideas?
Max.A's user avatar
  • 107
0 votes
0 answers
196 views

Magento 2.4 alternatives to Livereload Chrome extension for live styling via Grunt?

Magento officially recommends Livereload for "watching" changes made via Grunt and updating the browser in real-time without reloading the page for each change here: https://devdocs.magento....
Louis B.'s user avatar
  • 1,122
1 vote
1 answer
1k views

Magento 2 - Could not load content for ... (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE)

I am using grunt with livereload to compile my less files. Grunt also generates source maps so that I can directly see in my browser, in which LESS files css code is located. But often when I click to ...
Black's user avatar
  • 3,392
1 vote
3 answers
2k views

Magento 2 - How to allow livereload in CSP whitelist?

I can't use livereload anymore, because I get Refused to load the script 'http://www.company.de:35729/livereload.js' because it violates the following Content Security Policy directive ... Note that '...
Black's user avatar
  • 3,392
0 votes
1 answer
950 views

Magento 2 - LiveReload is connected, but changes are only visible after manual reload

I try to use grunt watch in combination with livereload. But there is almost no documentation on the topic. I installed livereload like this: npm install -g livereload Then I added the following ...
Black's user avatar
  • 3,392
0 votes
0 answers
123 views

Magento 2: programatically enable/disable Livereload inside theme

I've installed livereload and have it working inside of my theme, but there's a problem if I want to use this theme on another server. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
Toine H's user avatar
  • 171
1 vote
1 answer
2k views

Magento 2 how to refresh/reload shipping-method-item.html

I would like to reload the shipping methods information on a click of button for example. When the country change it does an ajax to http://magento2/rest/default/V1/guest-carts/...
Juliano Vargas's user avatar
3 votes
4 answers
2k views

Grunt, .less, and Live Reload - Can't get them working

Good afternoon, I am having a devil of a time getting my front-end flow working. I have grunt CLI working, along with theme.js setup properly (see images below). Still, when I make changes within my {...
AdamJSim's user avatar
  • 103
7 votes
2 answers
6k views

LiveReload configuration via Grunt

Edit : about the possible duplicate ! I would like to mention that this answer does not answer my question, if someone sees that it is the same thing, I invite him to answer me instead of saying that ...
PЯINCƎ's user avatar
  • 11.7k
0 votes
1 answer
427 views

Live Reload work with Magento 2 Live Server

Today i am tried to use live reload on live server. Almost working but when socket call, it showing error Provisional headers are shown Request URL:wss://domain_url:35729/livereload is any body ...
Sunil Patel's user avatar
  • 2,117
2 votes
0 answers
118 views

magento 2 Grunt watch loads old css when changing imported css file

When I use Grunt Watch my less compile does not work as I expect it to be. When I work directly in my theme. less file all perfectly changes and even with livereload works absolutely great. But ...
Kay Int Veen's user avatar
  • 1,503