question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

.settings.ignoreFiles doesn`t work

See original GitHub issue

I tried many different configurations and seems like its not working at all. I even tried to use .liveserverignore still nothing. Can you fix this?

I need this fix so I could handle my problem that I`m having with liveserver now:

  1. I have less files in my project so I setup gulp task to watch changes in less files. Whenever it sees the change it compiles all less into single css file. Liveserver refreshes after saving less file but I still dont see any changes on browser until I refresh it again.
  2. I have html templates used in angularjs. Whenever I save any of these templates they are compiled into ts/js file so basically browser refreshes 2 times. First on html template change then on ts/js file change.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
David1991devcommented, Sep 1, 2021

Hey qbunia, You have to create the .vscode folder in your main folder, not the actual one, and you have to restart the port.

0reactions
drodsoucommented, May 22, 2022

My problem was specifying a single file e.g. "data.json", but it worked changing to a pattern/glob: "data.json*"

Read more comments on GitHub >

github_iconTop Results From Across the Web

VS Code search.exclude doesn't work - Stack Overflow
Make sure the "Use Exclude Settings and Ignore Files" gear is toggled on (it's next to the "files to exclude" field; if you...
Read more >
Search exclude folders stopped working · Issue #95757 - GitHub
I am able to use "files to exclude" to exclude files, but the "Use Exclude Settings and Ignore Files" button does not toggle...
Read more >
How to fix .gitignore not working on your repository
Make a commit to your Git repository, and then;; Set up your .gitignore list. Then the .gitignore list will NOT ignore files that...
Read more >
.gitignore File – How to Ignore Files and Folders in Git
The way Git works is that you stage files in a project with the git add command and then commit them with the...
Read more >
Ignore files in Git without adding them to .gitignore
[oa] # *~ awesome-setup.sh. This approach, though, doesn't work if you want to ignore files that are already being tracked by Git.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found