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

Dont end the process if we're serving #84

Merged
merged 2 commits into from
Apr 6, 2018
Merged

Conversation

maier49
Copy link
Contributor

@maier49 maier49 commented Mar 29, 2018

Fixes #82

So I checked with Rory, the description wasn't quite right. It does work for dojo build -w -s, but not for dojo build -s. The reason seems to be that when dojo build -s is run without -w, it runs the build function, which calls process.exit(0). As it turns out the server stops running when the process ends.

@codecov
Copy link

codecov bot commented Mar 29, 2018

Codecov Report

Merging #84 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #84   +/-   ##
=======================================
  Coverage   68.07%   68.07%           
=======================================
  Files           8        8           
  Lines         332      332           
  Branches       58       59    +1     
=======================================
  Hits          226      226           
  Misses        101      101           
  Partials        5        5
Impacted Files Coverage Δ
src/main.ts 98.14% <100%> (ø) ⬆️

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 adb4882...a52a458. Read the comment docs.

Copy link
Contributor

@rorticus rorticus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the bad description 😂

@agubler
Copy link
Member

agubler commented Mar 29, 2018

I suspected that! We really should fix the BTR / need to process exit 😁

@maier49 maier49 merged commit bad4b0a into dojo:master Apr 6, 2018
@maier49 maier49 deleted the fix-serve branch April 6, 2018 15:51
@dylans dylans added this to the 2.0.0 milestone Apr 11, 2018
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.

4 participants