diff --git a/.lune/build.luau b/.lune/build.luau index 6251a99..d8082f2 100644 --- a/.lune/build.luau +++ b/.lune/build.luau @@ -15,7 +15,7 @@ local function build() compile(target) if target == "prod" then - run("rm", { "-rf", `{project.BUILD_PATH}/**/*.spec.luau` }) + run("find", { project.BUILD_PATH, "-name", "*.spec.luau", "-type", "f", "-delete" }) end end @@ -25,7 +25,6 @@ if args.watch then watch({ filePatterns = { "src/.*%.luau", - "example/.*%.luau", }, onChanged = build, })