Merge pull request #617 from trheyi/main
feat: Clear modules before loading shared library
This commit is contained in:
commit
c19df9282f
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ import (
|
|||
|
||||
// Load 加载共享库
|
||||
func Load(cfg config.Config) error {
|
||||
v8.CLearModules()
|
||||
exts := []string{"*.js", "*.ts"}
|
||||
err := application.App.Walk("scripts", func(root, file string, isdir bool) error {
|
||||
if isdir {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue