kimbleton
DDeno
β’Created by ππΈβπΎπΌπ π»ππππ½πΈβπΌππ΅πΈ on 6/26/2024 in #help
Advice on building on running a React app.
I did try this https://deno.land/x/refresh@1.0.0 and yea it worked for automatic refreshing but I went the pm2 route as I have that ready to go already.
well now that I have opened my mouth I should maybe share my two cents where I have now a ts file with Deno.serve that is configured to host my static assets in a predetermined address and then I have pm2 ecosystem.config file where I have configured pm2 to watch files and run esbuild - basically prod build atm - when files change. The ecosystem file has also starts the Deno.serve(..) ts file so I can just run either an alias command or pm2 start in my repo root and my static hosting and watching for tsx and ts files starts
15 replies
DDeno
β’Created by ππΈβπΎπΌπ π»ππππ½πΈβπΌππ΅πΈ on 6/26/2024 in #help
Advice on building on running a React app.
maybe someone else can give you more 'latest n greatest' tip. I have unfortunately got myself stuck with webpack for my bundler. but vite seems to be hyped among the deno community so that might be something to consider to use as your dev server
15 replies
DDeno
β’Created by ππΈβπΎπΌπ π»ππππ½πΈβπΌππ΅πΈ on 6/26/2024 in #help
Advice on building on running a React app.
that is ofc very brute way for developing. there are live reload modules available in JSR IIRC. but for example you can also use pm2 to watch files and do the build with esbuild and reload your page old school if you like
15 replies
Using bitbucket repositories as dependencies in Deno
Ive now tried variations I could come up with about the env var without any luck. As silly as it may sound, the sad reality is I would have wishes deno to be the next bug thing for my company, but not being able to figure out the issue with bitbucket is total blocker as we have all our repositories there.
Even if you cannot help with the matter, I would appreciate if there is someone who can confirm that this indeed works, as I am starting to suspect this is an issue how deno uses the env var with bitbucket i.e bitbucket not being compatible
14 replies