`rollup -c -w` exits without any error.
See original GitHub issueI have some new data, so I thought I’d gather the relevant issues here.
Even worst for me with svelte template: command exit (rollup -c -w) without any error. Removing livereload from the config solve the issue: command works fine. I was wondering if it was only me but seems like I’m not alone: https://github.com/sveltejs/template/issues/133 _Originally posted by @sansnom in https://github.com/thgh/rollup-plugin-livereload/issues/46#issuecomment-645471396_
I’ve had this issue sometimes and just now I found that I accidentally had another terminal with rollup -c -w
running in the same working directory.
So somehow the watching AND livereload plugin has a problem.
With one running instance with watch and livereload, the second instance…
- rollup build: works OK.
- rollup watch, livereload not called: works OK.
- rollup watch with livereload enabled: silently exits. <-- our issue
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
rollup.js
Rollup is a module bundler for JavaScript which compiles small pieces of code ... Exit the build with an error if any warnings...
Read more >rollup in watch mode building with two versions of rollup
When I run rollup -cw , Rollup bundles my app with Rollup v2.2.0. ... Rollup Core) Error: Could not load /path/to/the-app/node_modules/@ ...
Read more >Amazon CloudWatch FAQs - Amazon Web Services (AWS)
Q: What is Amazon CloudWatch? Amazon CloudWatch is a monitoring service for AWS cloud resources and the applications you run on AWS.
Read more >firestore-mobx - UNPKG
The CDN for firestore-mobx. ... 16, "build:watch": "rollup -cw",. 17, "test": "echo \"Error: no test specified\" && exit 0",. 18, "lint": "eslint 'src/**/*....
Read more >FASTRAX® - Rite-Hite
NO. FSTXN JaNUaRy 2015. FASTRAX®. TABLE OF CONTENTS. CHAPTER 1 ... The green button (J) opens and resets the door after a fault....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh! Figured it out, I think. It seems livereload always binds to port 35729. It’s running into a port conflict.
I ran into the same issue when I had rollup with livereload in two different work directories.
So we can launch an instance on a different port - https://github.com/thgh/rollup-plugin-livereload/blob/1bbcf8f2ea20c2adf554317b0c00b8355d7aaaca/src/index.js#L22
e.g.
!production && livereload({watch: 'public', port: 35730}),
Not sure the best way to proceed - try to launch and try again with a new port? Always pass a random port? Possibly other options.
Oh wow, for me on windows 10, it was only taken when I was running a live reload in another cli.
Regardless, we have a port usage issue.