Fix for plain CSS themes
This commit is contained in:
parent
7adf63dfa8
commit
7fb8337095
|
@ -148,6 +148,8 @@ export default class Theme extends Content {
|
||||||
* @param {Array} files Files to watch
|
* @param {Array} files Files to watch
|
||||||
*/
|
*/
|
||||||
set watchfiles(files) {
|
set watchfiles(files) {
|
||||||
|
if (!files) files = [];
|
||||||
|
|
||||||
for (let file of files) {
|
for (let file of files) {
|
||||||
if (!this.watchfiles.includes(file)) {
|
if (!this.watchfiles.includes(file)) {
|
||||||
this.filewatcher.add(file);
|
this.filewatcher.add(file);
|
||||||
|
|
Loading…
Reference in New Issue