I am trying to setup a React project in my laptop , cloning from a repository. Using VS code . Any files changed or added is not displaying on the source control. However only when made some changes to package.json , it showed the file on source control with the commit button enabled. Otherwise any changes to any other files is not reflecting and the commit button is disabled. So far I have uninstalled and installed VS code. Re installed node , Git etc. Already have same setup in another laptop and working fine but need to move to this new laptop.
1 Answer 1
Autosave needed to be enabled. File > Autosave.
1 Comment
package.json file. Autosave is another way to save the file. If that's what happened, then this answer, as written, is misleading.Explore related questions
See similar questions with these tags.