src/js/start_node.js
function watch(arg_src_dir)
{
	console.info('Watching for change on: ' + arg_src_dir)
	
	const watch_settings = { ignored: /[\/\\]\./, persistent: true }
	var watcher = chokidar.watch(arg_src_dir, watch_settings)
	watcher.on('change', reload_file)
	
	return watcher
}
function watch(arg_src_dir)
{
	console.info('Watching for change on: ' + arg_src_dir)
	
	const watch_settings = { ignored: /[\/\\]\./, persistent: true }
	var watcher = chokidar.watch(arg_src_dir, watch_settings)
	watcher.on('change', reload_file)
	
	return watcher
}
function watch ( arg_src_dir ) { console . info ( 'Watching for change on: ' + arg_src_dir ) const watch_settings = { ignored : / [\/\\]\. / , persistent : true } var watcher = chokidar . watch ( arg_src_dir , watch_settings ) watcher . on ( 'change' , reload_file ) return watcher }
Watch directory files.

@param {string} arg_src_dir - source directory.

@returns {object} - watcher object.
Watch directory files .