Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nhrones committed Dec 28, 2024
1 parent c7b5b12 commit a254dc8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,20 @@ This app was built using my <a href="https://github.com/nhrones/Hot">**_Hot_**</
https://nhrones.github.io/Clock/

# HOT
This is a HOT app
This simple app demonstrates running Hot-dev-server directly from JSR (see: ./vscode/tasks.json - HOT)

## Copy this Repo to use/learn about the Hot dev server
- Download and load a local copy in vsCode.
- To run Hot, press ctrl+shift+b (vscode build shortcut)
- To run Hot, press ctrl+shift+b (the vscode build shortcut)
- This will start the Hot-dev-server from JSR
- To see how this is configured, open ./.vscode/tasks.json

This app is configured to code and build all front-end code from typescript files located in the /src/ folder.
These ts files are transpiled and bundled to a single ./dist/bundle.js file.
The ./index.html file loads this javascript bundle.js and a css file from the /dist/ folder:
This app is configured to code and build all front-end javascript from typescript files located in the /src/ folder. These ts files are auto-transpiled and bundled on-change to a single ./dist/bundle.js file.
The _index.html_ file in the root folder loads this javascript bundle.js and a css file from the /dist/ folder:
```
<link rel="stylesheet" href="./dist/styles.css" />
<script type="module" src="./dist/bundle.js"></script>
```
Any changes to any ts file in the /src/ folder will cause a build/bundle/refresh of the browser.
Any changes to any css file in the /dist/ folder will cause a refresh of the browser.
Any changes to any css file in the /dist/ folder will cause a refresh of just the styles in the browser.

0 comments on commit a254dc8

Please sign in to comment.