Skip to content

Commit f8bfd09

Browse files
authored
fix(farm): modify the parameter order of addWatchFile (#477)
1 parent 3dc78ec commit f8bfd09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/farm/context.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function createFarmContext(
1212
parse,
1313

1414
addWatchFile(id: string) {
15-
context.addWatchFile(currentResolveId || id, id)
15+
context.addWatchFile(id, currentResolveId || id)
1616
},
1717
emitFile(emittedFile) {
1818
const outFileName = emittedFile.fileName || emittedFile.name

0 commit comments

Comments
 (0)