Skip to content

Commit 921807f

Browse files
authored
Fix bug where files to serve would also be run directly (#35)
1 parent 3b17af2 commit 921807f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async function run() {
100100
)
101101
const additionalFilesToServe = await resolveDirectoryEntrypoints(ensureArray(runnerOptions.serve).map(parseEntrypointArg))
102102

103-
const entrypointArgs = runnerOptionArgs.filter(arg => arg.charAt(0) !== "-")
103+
const entrypointArgs = runnerOptions._
104104
const entrypoints = await resolveEntrypoints(plugins, entrypointArgs.map(parseEntrypointArg), scriptArgs)
105105

106106
const temporaryCache = createTemporaryFileCache()

0 commit comments

Comments
 (0)