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

[now dev] Add support for Builder "subscriptions" #2071

Merged
merged 1 commit into from
Apr 3, 2019

Conversation

TooTallNate
Copy link
Member

If the builder has a subscribe() function, then the initial builds are not run and instead an array of "subscriptions" is created. When an HTTP request comes in that matches one of the subscription patterns, then this builder will be actually be executed.

If the builder has a `subscribe()` function, then the initial
builds are not run and instead an array of "subscriptions" is
created. When an HTTP request comes in that matches one of the
subscription patterns, then this builder will be actually be
executed.
@codecov-io
Copy link

Codecov Report

Merging #2071 into canary will increase coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           canary   #2071      +/-   ##
=========================================
+ Coverage     4.5%   4.51%   +<.01%     
=========================================
  Files         243     243              
  Lines        8542    8557      +15     
  Branches      868     871       +3     
=========================================
+ Hits          385     386       +1     
- Misses       8140    8154      +14     
  Partials       17      17
Impacted Files Coverage Δ
src/commands/dev/lib/types.ts 0% <ø> (ø) ⬆️
src/commands/dev/lib/dev-builder.ts 0% <0%> (ø) ⬆️
src/commands/dev/lib/dev-server.ts 0% <0%> (ø) ⬆️
src/util/read-metadata.js 100% <0%> (ø) ⬆️
src/util/hash.js 100% <0%> (ø) ⬆️
src/util/error.js 100% <0%> (ø) ⬆️
src/util/get-files.js 96.89% <0%> (+5.36%) ⬆️
src/util/get-project-name.js 100% <0%> (+9.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f7b7824...1362134. Read the comment docs.

@leo leo merged commit 58d4326 into canary Apr 3, 2019
@leo leo deleted the update/now-dev-add-subscriptions branch April 3, 2019 10:53
leo pushed a commit that referenced this pull request Apr 5, 2019
If the builder has a `subscribe()` function, then the initial
builds are not run and instead an array of "subscriptions" is
created. When an HTTP request comes in that matches one of the
subscription patterns, then this builder will be actually be
executed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants