Don’t watch packed themes
This commit is contained in:
parent
32e2582ded
commit
47575d3449
|
@ -147,6 +147,11 @@ export default class Theme extends Content {
|
|||
* @param {Array} files Files to watch
|
||||
*/
|
||||
set watchfiles(files) {
|
||||
if (this.packed) {
|
||||
// Don't watch files for packed themes
|
||||
return;
|
||||
}
|
||||
|
||||
if (!files) files = [];
|
||||
|
||||
for (const file of files) {
|
||||
|
|
Loading…
Reference in New Issue