Skip to content
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

Watch files #9

Open
egoist opened this issue May 31, 2018 · 10 comments
Open

Watch files #9

egoist opened this issue May 31, 2018 · 10 comments
Labels
💪enhancement New feature or request

Comments

@egoist
Copy link
Owner

egoist commented May 31, 2018

## watch

Run task `build` and watch `src/*.js`

Or

## watch

Run task `build` before this and watch `src/*.js`

A new command for running task and rerun it when watched files are changed.

`before this` will be be optional since that will be a default.

@egoist egoist added the 💪enhancement New feature or request label May 31, 2018
@flxwu
Copy link

flxwu commented Jun 4, 2018

@egoist I'd like to try my best on this :) Or did you already start?

@flxwu
Copy link

flxwu commented Jun 4, 2018

Expressions like "Run task build before this in parallel and watch ..." should be possible as well right

@egoist
Copy link
Owner Author

egoist commented Jun 4, 2018

yep they can be combined, let's wait for #23 to land first

@flxwu
Copy link

flxwu commented Jun 4, 2018

👍 This feature would be really useful for myself

@flxwu
Copy link

flxwu commented Jun 5, 2018

okay, @egoist I have a first working version. Should I still wait for #23?

@flxwu
Copy link

flxwu commented Jun 5, 2018

And further, how should we determine when to stop the watcher?

@zephraph
Copy link
Contributor

zephraph commented Jun 6, 2018

I updated the docs for #23 so that should be ready to merge.

@intermundos
Copy link

Does this feature work yet?

I try to run watch task, but get an error:

No task called "*.js" was found. Stop.

## js
JS task with console.log('hola maid!')

console.log('11')

## watch
Watch test task
Run task `js` before this watch `*.js`

@flxwu
Copy link

flxwu commented Aug 13, 2018

No @intermundos as @egoist still has to review&merge #33 :)

@intermundos
Copy link

@flxwu Thanks for the info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants