Fix for plain CSS themes

This commit is contained in:
Samuel Elliott 2018-04-09 21:12:53 +01:00
parent 7adf63dfa8
commit 7fb8337095
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
1 changed files with 2 additions and 0 deletions

View File

@ -148,6 +148,8 @@ export default class Theme extends Content {
* @param {Array} files Files to watch
*/
set watchfiles(files) {
if (!files) files = [];
for (let file of files) {
if (!this.watchfiles.includes(file)) {
this.filewatcher.add(file);