mirror of
https://github.com/notwa/mm
synced 2024-11-05 02:29:03 -08:00
11 lines
240 B
Lua
11 lines
240 B
Lua
_require = _require or require
|
|
|
|
local function dumbdepend(path)
|
|
if package and package.loaded and package.loaded[path] then
|
|
package.loaded[path] = nil
|
|
end
|
|
-- TODO: pcall?
|
|
return _require(path)
|
|
end
|
|
|
|
return dumbdepend
|