-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Add rerunInterval
option
#121
Conversation
Please put some more effort into this. |
This will also need to be well documented in the readme and index.d.ts. |
A boolean argument will not be very readable at the callsite. |
Thanks you for your quick reviewing!
I guess maybe there is some misunderstanding. This is not boolean argument. That means if I put one in that factor, the script filter runs every second. This is an interval value from run to next run. (entering the value of the run) So, The output values for the functions below are as follows.
Result:
Shall I write some documentation about this function? Or should I change the signature to increase usability? |
May I ask where is index.d.ts file? It seems that I can't find index.d.ts in this repository. |
Just a typo. I meant number. My argument still stands. Not very readable. Should be an options-object. |
Ah, I thought we had an index.d.ts here. Never mind. |
Usage
So, I changed the usage like above as you mentioned. It looks much better. |
I've thought it would be good to add So, I expanded this PR's scope. It seems that it is related with #43 Usage
Please let me know if there are still running out of documents or there is more to do. |
10e084e
to
9c9df8f
Compare
Try to look at |
That should be a separate PR. |
So, how about |
What about I think It seems to imply that the script will be re-executed based on its interval. |
9c9df8f
to
063a479
Compare
I've been thinking about the proper variable name. These are the variable names that I've thought about. 1 -
|
I would go with |
Travis is failing |
Okay. Let me look into it. |
It was an object-curly-spacing error. Resolved it by removing the side whitespace of { and }. |
Since it's difficult to automatically test this, can you manually test that this new feature works? |
Sure. Here is my code.
And here is the log.
In the log, in And If I leave Alfred like that, it will continue to re-run. So, you can check |
Thank you for merging useful feature. But, I think there was a mistake in the The range of rerun-interval value should be |
Related Issue
Fixes #54
Usage
Comment
I made this PR because I think rerun property would be useful.
IssueHunt Summary
Referenced issues
This pull request has been submitted to:
rerun
parameter