Skip to content

Commit

Permalink
Merge pull request #370 from MaxKramnik/master
Browse files Browse the repository at this point in the history
emit update when the template is changed the first time when the event =...
  • Loading branch information
jlongster committed Mar 11, 2015
2 parents 3664163 + c00a33b commit eaa0f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node-loaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var FileSystemLoader = Loader.extend({
// they change
lib.each(this.searchPaths, function(p) {
if(existsSync(p)) {
var watcher = chokidar.watch(p, { ignoreInitial: true });
var watcher = chokidar.watch(p);

watcher.on('all', function(event, fullname) {
fullname = path.resolve(fullname);
Expand Down

0 comments on commit eaa0f78

Please sign in to comment.