Skip to content
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.

Regression: Rebuilds only once in v4.0.0. Works in v3.2.2 #51

Open
btakita opened this issue Jun 10, 2017 · 5 comments
Open

Regression: Rebuilds only once in v4.0.0. Works in v3.2.2 #51

btakita opened this issue Jun 10, 2017 · 5 comments

Comments

@btakita
Copy link

btakita commented Jun 10, 2017

Upon upgrading to v4.0.0, my watch scripts only fire on the first change.

Downgrading to v3.2.2 fixes the issue. I don't know the cause of the issue & I will further investigate if nobody else has already done so.

useChokidar is true in this case.

@btakita
Copy link
Author

btakita commented Jun 10, 2017

Adding the rollup option {watch: {useChokidar: false}} fixes the issue

@Rich-Harris
Copy link
Contributor

I suspect this is because chokidar didn't get used at all prior to version 4, due to a silly bug. Are you able to create a repo reproducing the issue, so we can investigate further? Thanks

@btakita
Copy link
Author

btakita commented Aug 30, 2017

This issue is related to: paulmillr/chokidar#556

@btakita
Copy link
Author

btakita commented Aug 30, 2017

I'm trying to pass in the config:

watch: { chokidar: {usePolling: true} }

However, inputOptions from function mergeOptions in bin/rollup does not include the watch member.

@Rich-Harris
Copy link
Contributor

This repo is deprecated — rollup.watch is now part of core. If this is still an issue with the latest Rollup version, could you open a ticket over there please? thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants