We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abf9e44 commit 4393216Copy full SHA for 4393216
1 file changed
index.js
@@ -45,8 +45,11 @@ module.exports = (options = { plugins: [] }) => ({
45
// Write the result file
46
await writeFile(tmpFilePath, result.css);
47
48
+ // https://esbuild.github.io/plugins/#on-resolve-results
49
return {
50
path: tmpFilePath,
51
+ // watch for changes to the original input for automatic rebuilds
52
+ watchFiles: [ sourceFullPath ],
53
};
54
}
55
);
0 commit comments