-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: multiple watches started #4
Comments
I have described the problem inaccurately. The issue isn't livereload but the need to run multiple The problem stems from (on windows at least) it is not allowed to run in a 2nd terminal window a grunt watch task for everything other then the gapreload configuration. It is necessary to have a single terminal window and run all watch tasks from there. For a start I could not find any simple way to exclude watch:gapreload but run all others. So maybe the configuration can be simplified to be: |
I see. That's a great idea. So |
Actually, what do you think of a |
Currently only
watch.gapreload
is started.It would be nice to have
gapreload.options.watches = ['gapreload','foobar1','foobar2']
since I have different tasks for different file types to speed up incremental building. Note when configured the list replaces the default single watch of 'gapreload'. So if this is to occur it must be explicitly configured back in. This is the most versatile it allows renaming of that watch, it allows specifying the order they bootup (if thats ever important), it allows disabling all watches by providing an empty array (if thats ever important).Then use concurrent to bootup all of them.
It is not possible to start a separate
watch
task from another terminal window / command prompt, because it links into livereload which runs its own websocket on the standard LIVERELOAD_PORT. So all the watch rules must be integrated into that livereload server setup.The text was updated successfully, but these errors were encountered: