Re-add watch callback console.log
This commit is contained in:
parent
78135c4e77
commit
0fc4200f6d
|
@ -16,7 +16,7 @@ btn.watch((err, val) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
return console.error(err)
|
return console.error(err)
|
||||||
}
|
}
|
||||||
//console.log(`Release switch val: ${val}`)
|
console.log(`Release switch val: ${val}`)
|
||||||
if (val === 1) {
|
if (val === 1) {
|
||||||
//console.log('open')
|
//console.log('open')
|
||||||
} else if (val === 0) {
|
} else if (val === 0) {
|
||||||
|
|
Loading…
Reference in New Issue