logging.error('"listen" command is only useful if you have installed inotifywait on Linux. Run "apt-get install inotify-tools" or equivalent to install it.')
logging.error('"listen" command is only useful if you have installed inotifywait on Linux. Run "apt-get install inotify-tools" or equivalent to install it.')
...
@@ -606,6 +640,7 @@ class StartListening(object):
...
@@ -606,6 +640,7 @@ class StartListening(object):
'which',
'which',
'fswatch'
'fswatch'
]
]
logging.info(' '.join(cmd))
out=subprocess.check_output(cmd)
out=subprocess.check_output(cmd)
exceptsubprocess.CalledProcessError:
exceptsubprocess.CalledProcessError:
logging.error('"listen" command is only useful if you have installed fswatch on Mac. Run "brew install fswatch" to install it with homebrew.')
logging.error('"listen" command is only useful if you have installed fswatch on Mac. Run "brew install fswatch" to install it with homebrew.')
...
@@ -622,6 +657,7 @@ class StartListening(object):
...
@@ -622,6 +657,7 @@ class StartListening(object):
logging.error('"listen" command is only available on Mac and Linux.')
logging.error('"listen" command is only available on Mac and Linux.')