Replies: 2 comments 3 replies
-
No, there is no built-in way to have an automatically triggered You could try setting Did you consider using a local server and proxying requests to the remote env? https://shadow-cljs.github.io/docs/UsersGuide.html#dev-http-proxy I assume this is using |
Beta Was this translation helpful? Give feedback.
-
Unfortunately the variant with Not sure if esm will work. The app is basically a React app that gets mounted inside an iframe. I have to provide an I don't know if it even possible to bundle a React app as ESM and then load and initialise the app from an iframe in Atlassian Cloud. |
Beta Was this translation helpful? Give feedback.
-
Hi,
is there any way to create a release build while watching for code changes and automatically rebuild the release?
Now, this might seem contra intuitive on first sight. But I have a usecase with an external dev environment that requires a full JS build to be used during development. (The environment connects to the local development machine through a proprietary tunnel and pushes the changed code from local to the remote.) On the remote environment
unsafe-eval
is not allowed, but the normal development build does contain text that gets evaluated this way:It is not possible to change anything in this general setup unfortunately.
It would of cause be possible to run some script in the background and watch for changes in the
src
directory and run ashadow-cljs release app
but it would be a lot nicer if this would be possible directly from shadow.Disclaimer: Yes, I know this is not nice. If I had a choice I would do it differently but the platform/environment the app will be deployed in is (still) not very great in terms of development experience.
Beta Was this translation helpful? Give feedback.
All reactions