语义 UI gulp rtl 监视错误

Semantic UI gulp rtl watch error

我安装了语义 ui,创建了一个自定义主题,但是当我使用 gulp 手表时,RTL watch.js 加载并且在每次更改时我都会收到以下错误:

Watching source files for changes
Change detected in packaged theme
/home/vagrant/Code/angular/semantic/tasks/rtl/watch.js:109
        lessPath = lessPath.replace(tasks.regExp.theme, source.definitions);
                           ^

TypeError: Cannot read property 'replace' of undefined
    at /home/vagrant/Code/angular/semantic/tasks/rtl/watch.js:109:28

这与这些行有关:

else if(isPackagedTheme) {
    console.log('Change detected in packaged theme');
    lessPath = lessPath.replace(tasks.regExp.theme, source.definitions);
    lessPath = util.replaceExtension(file.path, '.less');
  }

我没有更改 gulp 文件中的任何行。我做错了什么?

gulpfiles afaik 中存在错误。我在 Github:

上创建了一个 Pull Request

https://github.com/Semantic-Org/Semantic-UI/pull/3586