oreoland.blogg.se

Rollup livereload
Rollup livereload











rollup livereload

# IMPORTANT: The version must match the version of docker-compose.yml Thank you for any help and hopefully this helps all the folks using Devilbox getting started with Svelte. I really like Devilbox and being able to run several apps under their chosen secure development domain with live reloading or even better, with hot module reloading, would be really nice. One last bit, you might be wondering why I also added the port 33440 to docker-compose-overrride.yml? Well that is because of this lovely message that flashed up for about half a second every time the HMR server is started. muchos muchos muchos gracias for any help with that. 🎉īeing able to have the same result under would be uber rude though. Going to will indeed work, changes in the src folder will trigger the app hot reloading only changed components, the page is not reloaded, just the bits that changed. However, again, if you watch the console, you can see the following message. Does not seem to work at all under the secure local development domain unfortunately. Now you can run npm run dev:rollup and can go to and you are greeted with a white page. Now go to your main devilbox folder, where you have installed Devilbox and make a file called docker-compose-override.yml with the following contents. devilbox folder under your project folder. You can just copy these as an example or make your own from the linked docs. devilbox and inside it 3 files (or just 1 depending on what server and version you use), each forwarding traffic to the PHP container on port 5000. In your Svelte project folder create a folder. Using Svelte with Devilbox requires you to setup a reverse proxy for Node.Ĭreate a Svelte project folder, i.e. Svelte is very easily and quickly installed and works fine with Devilbox. Would love to get that last bit with the secure local dev domain working. Here is what I managed to get going so far. It does work, however not under the secure self signed local development domain provided by Devilbox but just under some. I am trying to get either live reloading or hot module reloading going with Svelte and the awesome Devilbox.













Rollup livereload