Hot Module Replacement available in D-Installer
Hi all! I am pleased to announce that Hot Module Replacement[1] has now available in D-Installer[2]. Thus, working on the web UI should be a bit more productive now, saving you a few clicks to get it up-to-date after writing changes to a file. Just use `npm run server` instead of `npm run watch`. Hope you find it useful! Regards. [1] https://webpack.js.org/concepts/hot-module-replacement/ [2] https://github.com/yast/d-installer/pull/419 -- David Díaz YaST Team at SUSE LINUX GmbH IRC: dgdavid
El lun, 13-02-2023 a las 13:30 +0000, David Díaz escribió:
Hi all!
Hi!
I am pleased to announce that Hot Module Replacement[1] has now available in D-Installer[2]. Thus, working on the web UI should be a bit more productive now, saving you a few clicks to get it up-to- date after writing changes to a file.
Just use `npm run server` instead of `npm run watch`.
Hope you find it useful!
Thanks a lot! I tried and worked just fine. Just one thing to have in mind: it does not work remotely. So, if you connect to a VM, it will not work (it needs to connect to 'localhost'). But it is rather easy to workaround the problem by just using the browser from the VM through SSH (e.g., "ssh -X yourmachine firefox" -or chromium-). Regards, Imo -- Imobach González Sosa SUSE Linux LLC
On Tue, 2023-02-14 at 09:21 +0000, Imobach Gonzalez Sosa wrote:
El lun, 13-02-2023 a las 13:30 +0000, David Díaz escribió:
Hi all!
Hi!
I am pleased to announce that Hot Module Replacement[1] has now available in D-Installer[2]. Thus, working on the web UI should be a bit more productive now, saving you a few clicks to get it up-to- date after writing changes to a file.
Just use `npm run server` instead of `npm run watch`.
Hope you find it useful!
Thanks a lot! I tried and worked just fine.
Just one thing to have in mind: it does not work remotely.
Right, I forgot to mention it.
So, if you connect to a VM, it will not work (it needs to connect to 'localhost'). But it is rather easy to workaround the problem by just using the browser from the VM through SSH (e.g., "ssh -X yourmachine firefox" -or chromium-).
Thanks for both, the reminder and the trick.
Regards,
Cheers.
Imo
-- David Díaz YaST Team at SUSE LINUX GmbH IRC: dgdavid
On Tue, 14 Feb 2023 11:11:11 +0000 David Díaz <dgonzalez@suse.de> wrote:
On Tue, 2023-02-14 at 09:21 +0000, Imobach Gonzalez Sosa wrote:
El lun, 13-02-2023 a las 13:30 +0000, David Díaz escribió:
Hi all!
Hi!
I am pleased to announce that Hot Module Replacement[1] has now available in D-Installer[2]. Thus, working on the web UI should be a bit more productive now, saving you a few clicks to get it up-to- date after writing changes to a file.
Just use `npm run server` instead of `npm run watch`.
Hope you find it useful!
Thanks a lot! I tried and worked just fine.
Just one thing to have in mind: it does not work remotely.
Right, I forgot to mention it.
I think limitation should be mentioned around https://github.com/yast/d-installer/pull/419/files#diff-4a534cf0dab53faad7a1... as it is e.g. for me quite important fact. I use pong and VPN for VM and sadly X forwarding is quite slow for me, so using local browser and url on VM is big benefit for me. Josef
Regards,
Cheers.
Imo
On Tue, 2023-02-14 at 17:10 +0100, josef Reidinger wrote:
[...]
I think limitation should be mentioned around https://github.com/yast/d-installer/pull/419/files#diff-4a534cf0dab53faad7a1... as it is e.g. for me quite important fact. I use pong and VPN for VM and sadly X forwarding is quite slow for me, so using local browser and url on VM is big benefit for me.
Josef
Done at https://github.com/yast/d-installer/pull/429 Thanks! -- David Díaz YaST Team at SUSE LINUX GmbH IRC: dgdavid
participants (3)
-
David Díaz
-
Imobach Gonzalez Sosa
-
josef Reidinger