This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// As of 2023/03/21 there's no way to use Cargo's file watching (using mtime) with NPM | |
// to tell if any dependencies have changed. NPM rewrites package-lock.json even if no | |
// change occurs. Even a few package directories inside of node_modules get touched | |
// during the process so watching that directory does not work. | |
// | |
// Taking the idea even further still, there's now way to tell when transitive dependencies | |
// need updating. | |
// | |
// Will revisit once Orogene hopefully becomes more mature and feature complete: | |
// https://github.com/orogene/orogene |