Browse Source

watcher

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

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

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

Loading…
Cancel
Save