Skip to content

gintamamadao/delete-node-require-cache

Repository files navigation

English | 简体中文

delete-node-require-cache

NPM version NPM Weekly Downloads License

NodeJs loads js scripts file with a cache for performance reasons, but sometimes cache can be a problem when we need NodeJs to load new changes of the js file in real time, and this package will remove the cache of the specified js file, and also will parse the content and analyse the dependent js file inside and remove the relevant cache

import { delRequireCache } from 'delete-node-require-cache'

delRequireCache(jsFilePath)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published