I think you are wrong. I see other people in the forums that are trying to do exactly what I am doing. See for example Custom React components don't show up with production Next.js build So in this post the OP is deploying to a production environment (he does not say which, but could be Azure). He says that the live editing is working, but his custom components are not registered. So this is a problem I have yet to see, because I am not that far along…I don’t have live editing working.
So how do I get live editing working in production? I’ve gotten a little further since my last post. I changed the start to…
```
"
"start": "set PORT=8080 && node_modules/next/dist/bin/next start",
Now my pages are no longer statically rendered and so whenever I change the components in the editor and publish, they show up on the rendered page.
I also had to change my Azure GitHub deployment script to add zip and unzip steps…
- name: Zip artifact for deployment
run: zip release.zip .env .next ./* -r
with a corresponding unzip step in the deployment script…
- name: Unzip artifact for deployment
run: unzip release.zip
This is necessary because the GitHub deployment script does not copy files and directories that start with “.” and “.env” and “.next” are critical.
So how do I get live editing editing working in production? Don’t tell me it can’t work. Your customer ozmoroz has got it working. You guys are something else. Your documentation is nothing but marketing BS and says “Builder IO can do EVERYTHING!”. Meanwhile support constantly tells me “Builder IO can do NOTHING!”.
So it seems that I need to get the builder server running in Azure. Apparently the modified start command does not do that.
And don’t tell me that this is some weird deployment scenario that no one needs. This should be a very common scenario. I want users to be able to edit their own landing pages. These users are not developers. They don’t have a “local development environment”. This is what your marketing BS says is the primary feature of Builder.io: you can modify pages without being a developer! So please, please, help me get this going.