Closed nandorojo closed 1 month ago
For dev mode, I just called npm run dev
in web
and npm run dev
in electron
(in a separate terminal) and it worked fine.
Going to see if I can generally get rid of the file copying
In dev mode, you don't need to copy or anything, you can just the electron and the Next.js server on another terminal. What I stated is for build time.
Yeah got it working now, makes sense, dev mode works fine for me. Thanks!
@nandorojo now I've updated it to a normal repo, you don't need to copy when it comes to production mode anymore. It works directly and is much simpler.
Hey! Thanks so much for publishing this.
Quick questions:
How could we make this support local dev mode/HMR? I'm trying to get that spun up. Should that work with
make web dev
?Is it necessary to even copy the files? Couldn't
startServer
just get the path to../web
directly without copying any files?Calling
make web dev
throws this error for me. I wonder if there might be a simpler script that could do it.I'll be poking around to see if I can address these things, so I wanted to share them first. Thank you!