Skip to content

Instantly share code, notes, and snippets.

@creationix
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save creationix/81d6df3dca8cb96eb1a5 to your computer and use it in GitHub Desktop.
Save creationix/81d6df3dca8cb96eb1a5 to your computer and use it in GitHub Desktop.
local luvi = require('luvi')
local bundle = luvi.bundle
-- Manually register the require replacement system to bootstrap things
bundle.register("luvit-require", "modules/require.lua");
-- -- Upgrade require system in-place
_G.require = require('luvit-require')()("bundle:main.lua")
require('./testing')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment