KyleJune / deno-tailwind-ui-react-example

An example of how you can use Tailwind UI and React with Deno
20 stars 5 forks source link

Fix live reload script #14

Closed KyleJune closed 2 years ago

KyleJune commented 2 years ago

https://github.com/KyleJune/deno-tailwind-ui-react-example/pull/13/commits/b921645085b1be315d675ab645a1783aa83949d2 introduced an issue with the live reload server because it moved the live reload script from development/public to public/development. The reason why is because you can't watch files in a directory that does not exist. I didn't notice the issue because the dev.ts script suppressed errors for the bundle command and the live-reload-server.ts.