live-server
live-server copied to clipboard
Chrome does not update CSS edit
Chrome does not update CSS edit
The changes in .html are registered and updated. But i am having problems with .css file. The changes in .css file are registered but not updated in Chrome. Can anyone help me please.
Note: with Firefox i do not have this problem.
Here is error from DevTool:
Console:
(index):53 Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. at refreshCSS (http://127.0.0.1:8080/:53:11) at WebSocket.socket.onmessage (http://127.0.0.1:8080/:67:40) refreshCSS @ (index):53 socket.onmessage @ (index):67
more details:
`Code injected by live-server
`
Same problem here. Seems to work fine in Safari.
This has been fixed here https://github.com/tapio/live-server/pull/283/commits/db9f12ddecbd5887e0110fff3d5820069a274c20 , but I do not know why it is not part of the master build.
To install this particular fix, do the following:
npm install -g "git+https://github.com/tapio/live-server.git#db9f12ddecbd5887e0110fff3d5820069a274c20"
I face the same problem on Chrome Version 75.0.3770.142 (Official Build) (64-bit) The pull request of this https://github.com/tapio/live-server/commit/db9f12ddecbd5887e0110fff3d5820069a274c20 is still open: https://github.com/tapio/live-server/pull/283
It seems that the CI pipeline failed.
Alternatively, you can use:
live-server --no-css-inject
I face the same problem on Chrome Version 75.0.3770.142 (Official Build) (64-bit) The pull request of this db9f12d is still open: #283
It seems that the CI pipeline failed.
Alternatively, you can use:
live-server --no-css-inject
Using the --no-css-inject
flag still does not work for me.
My node version is v12.8.0