[BUG] Running npm install
updates package.json timestamp
#2714
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 7.x
work is associated with a specific npm 7 release
Current Behavior:
Running
npm install
with no arguments causes the timestamp of package.json to be touched.Expected Behavior:
package.json should not be written.
Steps To Reproduce:
package.json
, observe the timestamp.npm install
Environment:
Additional comment
This creates problems/annoyances for other programs that are watching for file updates. In my case running
npm install
causes my text editor to ask if I want to reload the file.The text was updated successfully, but these errors were encountered: