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

Fix live rebuild #4

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

kjpou1
Copy link

@kjpou1 kjpou1 commented Dec 12, 2021

Fix live rebuild problem.

Do not know if this something new or not introduced with the update to recent deno version.
When updating any file the build was kicked off and refreshing would never end.

```
error: TS2339 [ERROR]: Property 'getIterator' does not exist on type 'ReadableStream<R>'.
  return res.readable.getIterator();
```

Update the std dependencies to the latest std 0.117.0
- update other dependencies to latest as well
- update lodash to
Being hardcoded at always `8080` caused port already in use exceptions.
Do not know if this something new or not introduced with the update to recent deno version.
When updating any file the build was kicked off and refreshing would never end.
- What was happening was the build would kick off and write to the build directories which would be seen as another change
- The change was detected from the build and created a never ending refresh cycle.

- inspiration for this mod was taken from a great article here:  https://dev.to/otanriverdi/let-s-explore-deno-by-building-a-live-reloader-j47
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.

1 participant