Skip to content

Commit

Permalink
fix(farm): modify the parameter order of addWatchFile (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErKeLost authored Feb 18, 2025
1 parent 3dc78ec commit f8bfd09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/farm/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function createFarmContext(
parse,

addWatchFile(id: string) {
context.addWatchFile(currentResolveId || id, id)
context.addWatchFile(id, currentResolveId || id)
},
emitFile(emittedFile) {
const outFileName = emittedFile.fileName || emittedFile.name
Expand Down

0 comments on commit f8bfd09

Please sign in to comment.