Skip to content

Commit

Permalink
Merge pull request #121 from artemv/browsersync
Browse files Browse the repository at this point in the history
fix(browsersync): corrected re watched pathes
  • Loading branch information
Egis-Kevin authored Dec 14, 2017
2 parents 17776d9 + a763997 commit 3fb3e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulp/browsersync.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function loadAppConfig(pkg, pkgRootDir, serveStaticMap, watchedFiles) {

if (pkg.watchedFiles) {
_.flatten([pkg.watchedFiles]).forEach(path => {
path = pkgRootDir + '/' + path;
path = '../' + pkgRootDir + '/' + path;
console.log(pkgRootDir + ' adds watched path:', path);
watchedFiles.push(path);
});
Expand Down

0 comments on commit 3fb3e23

Please sign in to comment.