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

Live refresh #29

Merged
merged 6 commits into from
Jan 2, 2020
Merged

Live refresh #29

merged 6 commits into from
Jan 2, 2020

Conversation

NatElkins
Copy link
Contributor

This adds live refresh to the fornax watch command. It can be disabled via fornax watch --disable-live-refresh.

fornax_600

Sorry the gif is so tiny, it's the biggest one I could upload.

How to test:

  1. Clone repo
  2. cd src/Fornax
  3. ./resetTool.sh
  4. mkdir test
  5. cd test
  6. fornax new
  7. fornax watch
  8. Wait until it says it's done, then navigate to http://localhost:8080/ .
  9. Make a change to one of the *.md files.
  10. See the page reload in your browser.

There's only one annoying thing left, it's not really a big deal but I'm not sure how to get rid of it. When the page reloads, Suave outputs the following message:

image

I'm sure there's a way to get rid of it, I'm just not sure how.

Let me know if any changes should be made.

@Krzysztof-Cieslak
Copy link
Member

Hey @NatElkins, sorry for delay. This looks good to me in general.

Can you rebase it to latest master?

@NatElkins
Copy link
Contributor Author

@Krzysztof-Cieslak This is now rebased to master, and I've verified that the exit code changes are functioning as expected.

That WebSocket error log message is still there, although it doesn't affect the functionality at all. Is it fine for it to be there?

@Krzysztof-Cieslak Krzysztof-Cieslak merged commit 3dcf133 into ionide:master Jan 2, 2020
@Krzysztof-Cieslak
Copy link
Member

Yeah, don't worry about the log messages, it's not critical.

Thanks a lot, it looks amazing ❤️

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.

2 participants