svelte-multi-page-app icon indicating copy to clipboard operation
svelte-multi-page-app copied to clipboard

The app does not compile or reflect changes in the code after sometime

Open abhijitgujar86 opened this issue 4 years ago • 5 comments

The rollup simple does not reflect the changes in dev server after sometime. When we restart the VS Code then it works fine for some time and again after some changes it just stops ...

abhijitgujar86 avatar Nov 03 '20 05:11 abhijitgujar86

Try commenting the following line in rollup.config.js

...
svelte({
        // dev: !production,  // <- here
...

mgholam avatar Nov 03 '20 05:11 mgholam

ok let i will try it test it for an hour and will let you know . thanks .

abhijitgujar86 avatar Nov 03 '20 08:11 abhijitgujar86

How did it go?

mgholam avatar Nov 04 '20 17:11 mgholam

Hey hi unfortunately it did not work . also i noticed one thing if i change a in one file it refreshes multiple time . I think it equal to the number of folder . It that supposed to happen ?

abhijitgujar86 avatar Nov 05 '20 10:11 abhijitgujar86

Try upgrading rollup.

No, it only builds the projects/folders effected by the file change.

mgholam avatar Nov 05 '20 10:11 mgholam