lib/appentity.js
function restartAppFromWatching(err) {
		updateWatcherCount()
		if (err) self.emit('error', err)
		if (dashboard.state !== 'stop') {
			log('Restarting ' + conf.name + ' due to file watch trigger')
			appLink.afterThat('restart')
		} else log('Watcher restart ignored in stop state')
	}
function restartAppFromWatching(err) {
		updateWatcherCount()
		if (err) self.emit('error', err)
		if (dashboard.state !== 'stop') {
			log('Restarting ' + conf.name + ' due to file watch trigger')
			appLink.afterThat('restart')
		} else log('Watcher restart ignored in stop state')
	}
function restartAppFromWatching ( err ) { updateWatcherCount ( ) if ( err ) self . emit ( 'error' , err ) if ( dashboard . state !== 'stop' ) { log ( 'Restarting ' + conf . name + ' due to file watch trigger' ) appLink . afterThat ( 'restart' ) } else log ( 'Watcher restart ignored in stop state' ) }
restart due to file change or copy change
restart due to file change or copy change