Comments (7)
You cannot reload on a backend change, but the backend change usually results in an updated source file URL and you could monitor that file.
from live-reload.
Hi Blaise,
Yes, that was I am aiming at : reloading when the source change.
For info, I have a Go backend that produce html, which is reloaded on change (inotifywait
magic).
In the screenshot above, I tried with http://localhost:4200/search/products/
(which was the url of my browser). But this was not working. Same with a trailing *
, with or without the trailing /
.
Is there something special to do ?
Thanks a lot.
from live-reload.
So you want to update the page when the page itself is updated?
Does Host URL: http://localhost:4200/*
, Source file URL: http://localhost:4200/*
work for you?
from live-reload.
No, the page is not updated on html change with this config. Css is.
- There is the badge with value
2
corresponding to the 2 css files loaded with the page. - Here are the network call after a page reload, 3 resources (one html, 2 css) :
- Updated version to 1.8.1 and accepted the permission change (and restarted Firefox)
Is there a way to report the monitored resources in Firefox ?
Thanks Blaise.
from live-reload.
from live-reload.
@tomsquest I fixed this in Live Reload 1.8.2. If a source URL matches the host URL the page will monitor itself. Can you confirm it works?
from live-reload.
Hi @blaise-io ,
It works with 1.8.2 !
Thanks a lot for the work (I read a bit of the code and there is much more that I thought !).
Regards,
Tom
from live-reload.
Related Issues (20)
- not reloading HOT 19
- not working : chrome + localhost HOT 1
- file:// URLs no longer work in chrome HOT 1
- Firefox Permission Requirements, Remove "Access your data for all websites" HOT 2
- Live Reload not available in Chrome Web Store HOT 2
- Add extension to Microsoft Edge Add-ons store HOT 3
- Does not highlight changes HOT 1
- I cannot get it to work. I am having wordpress on local host and I am changing my custom theme files, css and js. HOT 7
- Add custom third-side css HOT 1
- [Bug] No effect when clicking on 'Create a new reload rule...' HOT 4
- Monitor the local file system instead of urls (await browser support) HOT 3
- Not working for local pages (DDEV hosted, within WSL2) HOT 4
- link[rel=stylesheet] in inject.ts doesn't pick up preloaded stylesheets HOT 3
- ignore port number HOT 1
- Avoid scrolling to the top of the page while reloading (on Firefox) HOT 1
- Avoid scrolling to the top of the page while reloading (on Firefox) HOT 1
- Is there a way to get this to monitor local source files instead of ones at a URL? HOT 2
- ERROR: Repository not found while installing the dependencies of @deadb17/[email protected]
- Кэш браузера
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from live-reload.