Support dynamically detecting changes when .gitignore is updated
See original GitHub issueConsider a repo with the following:
.gitignore
:
*.js
foo.test.ts
it(`throws`, () => throw new Error('bewm'));
(and TypeScript configured with inline source maps)
If you run tsc --watch
and jest --watch
, it will not pick up any changes. Jest is running tests via foo.test.js
, and because .js
files are gitignored, any changes to those files are also ignored
Suggestion: for files with source maps, also track their related source and check for changes in them, too
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:11
Top Results From Across the Web
Dynamic .gitignore configs to follow the same pattern over and ...
Composing a simple .gitignore file by hand seems simple: abc !abc/abc.properties !abc/abc.txt def !def/def.properties !def/def.txt # ...etc.
Read more >I have .idea in gitignore, but it is still in local changes
idea/ files as changed in the Local Changes. I was able to fix this by closing all instances of the IDE, then running...
Read more >Is there a suggested .gitignore to use with UIPath Studio? - Help
I'm working on implementing GIT integeration with Team Foundation Server and noticed that it seems a number of files are constantly changing ......
Read more >GitHub: Tell Git to ignore files - SAPIEN Information Center
This post demonstrates how to use 'exclude' and . gitignore files to exclude files from your GitHub repos, including the backup files that ......
Read more >Why GitLab Ultimate?
GitLab SAST allows users to change the vulnerability detection defaults to ... Help teams using both Jira and GitLab better collaborate and stay...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nah, just re-crawling after gitignore is changed should be sufficient. Jest already has a list of files to resolve, so no need to complicate it even further. Also I don’t see source maps related to this issue.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.