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

Provide option for watching files with '--watch' option #12

Open
vysinsky opened this issue Jun 20, 2016 · 7 comments
Open

Provide option for watching files with '--watch' option #12

vysinsky opened this issue Jun 20, 2016 · 7 comments
Labels

Comments

@vysinsky
Copy link

Do you plan to add support for --watch attribute? Or do you think it is better to use built-in file watchers and trigger tests from the file watcher?

@vysinsky vysinsky changed the title Provide option for watching files? Provide option for watching files '--watch' option Jun 20, 2016
@vysinsky vysinsky changed the title Provide option for watching files '--watch' option Provide option for watching files with '--watch' option Jun 20, 2016
@jkuchar
Copy link

jkuchar commented Apr 18, 2017

What are you trying to achieve? How it should look like?

@fprochazka
Copy link

Imho he wants to run the tests automatically, on save.

@vysinsky
Copy link
Author

Exactly. But I've realized that I can set file watcher. So it is probably not necessary to add it to the plug-in.

@jkuchar
Copy link

jkuchar commented Apr 21, 2017

Please clould you provide tutorial/link how to do that? Thanks!

@jiripudil
Copy link
Collaborator

It would be nice to have it in the plugin, but Tester watches in one while (TRUE) {} process and implementation-wise, I have no clue how to tell that one run of the tests has ended or that another one has started, and re-create the test console for the next run.

@jkuchar
Copy link

jkuchar commented Apr 22, 2017

I do not see any value in implementing --watch over FileWatchers in IDE. When you change code, tests run again. Result is the same. Do I miss something here?

@jiripudil
Copy link
Collaborator

File Watchers are meant for compiling various things like SCSS in the background, it even says so in the docs. Thus, they can only launch binaries directly, not Run Configurations, so while yes, you can set a up a watcher to run Tester, all you get from it is a raw console output, without the added value of the plugin features. Result is the same as running tester --watch in the terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants