Check out a free preview of the full Build Cross-Platform Desktop Apps with Electron course:
The "Detecting Change" Lesson is part of the full, Build Cross-Platform Desktop Apps with Electron course featured in this preview video. Here's what you'd learn in this lesson:
To determine a file change, Steve codes an update keep track of the original content of a newly opened file and compare it to the user's file to see if any changes have been made.