Add initial send argument

This commit is contained in:
brunosimon
2017-07-30 14:29:29 +02:00
parent 33c2c017ec
commit a847393444
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ const colors = require('colors')
const opener = require('opener')
const fs = require('fs')
const path = require('path')
const packageJson = require('../../package.json')
/**
* App class
@@ -23,7 +24,7 @@ class App
constructor()
{
console.log()
console.log('---'.rainbow + 'keppler'.bold.white + '----------------------'.rainbow)
console.log('---'.rainbow + ' keppler '.bold.white + packageJson.version.bold.white + ' ----------------------'.rainbow)
console.log()
this.setConfig()
+1 -1
View File
@@ -85,7 +85,7 @@ class Watcher
{
// ignored: /[\/\\]\./,
ignored: regex,
ignoreInitial: true
ignoreInitial: !this.config.initialSend
}
)
+1 -1
View File
@@ -7,7 +7,7 @@
},
"main": "bin/index.js",
"scripts": {
"demo-folder": "cd test/demo-folder && node ../../bin 'Demo folder' --debug 1",
"demo-folder": "cd test/demo-folder && node ../../bin 'Demo folder' --debug 1 -i",
"test-project": "node ./bin --debug 1 --test"
},
"repository": {