You can force a file to be re-read from disk by setting the file's entry to nil: package.loaded["my_module"] = nil . To properly hot reload a module, you need ...
確定! 回上一頁