Comments (10)
Ok! Try a settings on the Node.js and/or laravel project.
"liveServer.settings.NoBrowser" : true,
"liveServer.settings.ignoreFiles": [
"*",
"**"
]
[NOTE : IT WILL DISABLE LIVE RELOAD.]
Now what about the CPU usage?
if it works, now for Node.JS project, try this
"liveServer.settings.ignoreFiles": [
"**/node_modules/**"
]
Is this works for Node.js ? (Though I excluded this folder from b9cdc13 ), just give a try and let me know.
from vscode-live-server.
This issue seems like #26
A TEST (I don't have MAC, so I need your feedback) :
Create a simple HTML project
And start the live server and check cpu usages .
from vscode-live-server.
If you want to help in regarding this issue @bestvow.
from vscode-live-server.
Please tell me your live server version.
from vscode-live-server.
I tested the plain html file and the cpu usage stayed normal low usage. It seems to have been only on projects utilizing laravel and node js for me.
As for my version of live server extension I currently have 3.0.0 as that is the latest one I see in the extensions market tab.
I attempted a laravel and node project and while the usage decreased, it went from 140-160 to 16-130. If there was an update pushed out, I may not have access to it cause there was no updates when I opened code.
from vscode-live-server.
...And, where all the dependencies for laravel project are stored (by composer package manager) ? [I DON'T KNOW]
"liveServer.settings.ignoreFiles": [
"**/<THE FOLDER NAME>/**"
]
Give a try this also.
from vscode-live-server.
Manual ignore the file that you don't need to live reload , such as node_modules
folder.
About to your PHP project , you can analyze the project dependencies file and ignore it.
Most possible lead to overload your cpu may the laravel frame files.
The more files need to watch and reload the more cpu utilization percentage increase.
(Sorry for my terrible english syntax)
from vscode-live-server.
I have tried implementing your settings and still it is staying around 140 to 150. Tried ignoring just about every folder/file as well.
from vscode-live-server.
@bestvow Please try with newly released version. I have check code helper in a node.js project. It's working fine here. I am closing this issue if you faced the same issue with the latest version reopen it. Thank you
from vscode-live-server.
Still an issue on mac on 6/1/21
from vscode-live-server.
Related Issues (20)
- has error with vscode run project.
- index.html
- on going live it says port 5500 is not working
- error showing when I click to Golive
- Live server availability on https://vscode.dev/
- Port problem
- Error while installing 'Live Server' extension. Please check the log for more details.
- not working
- Live Server extention problem
- Something is went wrong! Please check into Developer Console or report on GitHub.
- Open with live server only with localhost <port>
- { "sender": { "name": "Georg Bauer", "address": "Goethestrasse 73, D-45130 Essen, Germany", "IBAN": "DE95360700500073364200", "BIC": "DEUTDEDEXXX" }, "recipient": { "name": "Matteo Brucchioni", "address": "Konstitucijos Ave. 21V, 08130, Vilnius, Lithuania", "IBAN": "LT823250026379885599", "BIC": "REVOLT21" }, "transfer_details": { "amount": "500,000.00", "currency": "EUR", "date": "2024-04-08", "reason": "Payment for consulting services", "reference": "Invoice No. 123456" }, "deadline": "2024-04-08", "transfer_type": "SEPA", "priority": "URGENT", "tracking_code": "SEPA123456789" } HOT 1
- Vs Code Live server doesn't directly open the HTML file
- I getting live server access
- Live server not working on the preview screen HOT 1
- EXTENSION PROBLEM HOT 1
- Live Server cannot be displayed in Chrome
- Live Server cannot be displayed in Chrome HOT 1
- Instant Reload/Auto Reload
- Incorrectly defaults to higher port numbers HOT 1
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 vscode-live-server.