We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cae374 commit 0d78958Copy full SHA for 0d78958
lib/styles-reloader.js
@@ -18,7 +18,8 @@ module.exports = function StylesReloader(options){
18
19
// build app style pattern
20
var appStylePath = options.project.root + path.join('/app', 'styles', '*');
21
- var appStylePattern = new RegExp('^' + appStylePath);
+ var componentsStylePath = options.project.root + path.join('/app', 'components', '*');
22
+ var appStylePattern = new RegExp('^(' + appStylePath + '|' + componentsStylePath + ')');
23
var appStyleResource = options.project.pkg.name + '.css';
24
25
// livereload hostname
@@ -78,4 +79,4 @@ module.exports = function StylesReloader(options){
78
79
return _isRunning;
80
}
81
};
-};
82
+};
0 commit comments