Skip to content

Commit 2797ced

Browse files
authored
Merge pull request #21 from chronoDave/#20
Added "Assets" to watch
2 parents 81cf75e + bcf8948 commit 2797ced

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bin.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ const config = createConfig(
4141
}
4242
);
4343

44-
const files = config.files.map(file => path.resolve(config.root, file));
44+
const files = [
45+
...config.files.map(file => path.resolve(config.root, file)),
46+
...config.assets.map(file => path.resolve(config.root, file))
47+
];
48+
4549
const bundle = () => {
4650
const ts = performance.now();
4751
run(config);

0 commit comments

Comments
 (0)