Browse Source

watcher

master
zeus 4 years ago
parent
commit
8143cf3eb2
  1. 1
      swarmlab-app/src/run/app.js

1
swarmlab-app/src/run/app.js

@ -196,6 +196,7 @@ global.online='ob';
.on('add', function(path) { .on('add', function(path) {
console.log('File', path, 'has been added'); console.log('File', path, 'has been added');
var pathfileval = pathmodule.basename(path); var pathfileval = pathmodule.basename(path);
console.log('Filepath1 ', pathfileval, ' check');
var arrfile = pathfileval.split("-").map(function (val) { var arrfile = pathfileval.split("-").map(function (val) {
return Number(val) + 1; return Number(val) + 1;
}); });

Loading…
Cancel
Save