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

Feature/server client: Implement working file server (no live-reload yet) #22

Merged
merged 6 commits into from
Jun 18, 2022

Conversation

JorchRL
Copy link
Owner

@JorchRL JorchRL commented Jun 18, 2022

Implemented the file server. It seems to be working fine.

Just run deno task start and everything should load correctly. You don't need to run an external local server manually anymore!

There are other several changes detailed on the commits:

  • Add a centralized "paths.ts" file. As well as several dependencies (from deno:std/path)
  • The server is at ./lib/server
  • Small modifications to main.ts and webview.ts

- Add the server at ./lib/server
- Modify main.ts to load the server script
- Modify webview.ts to request /dist/index.html
- Add a ./paths.ts file to keep paths centralized (fixes #21)
- Add new dependencies to ./deps.ts
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

1 participant