Closed jaap3 closed 8 years ago
Seems that this is due to the (expected) behaviour of fs.watch (https://nodejs.org/docs/latest/api/fs.html#fs_inodes)
Thanks – this should be fixed in 2.3.0. Reopen if not!
I can confirm this is fixed, thanks!
I'm seeing this happen again with rollup-watch@3.2.2. Can reproduce with TextMate2, but not with Atom. It builds once when I start the watch, builds once more after I save a file, and then any subsequent changes to that file no longer trigger a build.
I can confirm. It happens with Intellij IDEA
I also can reproduce this with Intellilj IDEA. It's quite a PITA as I have to constantly Ctrl+C rollup and restart it.
In system settings, under "synchronization", try disabling the "safe write" feature
I'm seeing this as well. My text editor is Sublime, not IntelliJ. Rollup starts up and watches fine, and then the first change will throw an ENOENT: no such file
error for bootstrap-vue files (while I'm not editing, just importing).
Also having this issue, maybe reopen it?
Looks loke I have the same problem with PhpStorm.
As @lcanet mentiod, File - Settings - Appearance & Behavior - System Settings - Synchronization - uncheck Use "safe write" seems to fix issue for now.
But it strange. First change is always visible to rollup, but all consecutive is ignored.
Using vi as my editor on OSX only the first change to a file is picked up by rollup-watch.
While testing this I also had rollup-watch crash:
Seems that a save in vi doesn't "update" the original file. Instead the original is removed an replaced by a new file with the modified content.
Was able to reproduce this also using WebStorm IDE. Was not able to reproduce this using nano or atom.