Let's say I have a layout and an index file that uses the layout. When I run "docpad run" all the files are generated. When I modify the index file, the changes are picked up, but if I modify the file again, nothing is generated anymore.
For some reason, only the first modification to a file is picked up.
Hrmmm, a few people have been reporting this, or similar issues. I've made a label for all watching related issues.
Can you try the suggestion here and let me know if it works - #427 (comment)
Yes, it works. Thanks.
As a side note, the livereload plugin was also affected by the same issue...
Thanks for that. Yeah it is a pain of an issue. Is there a time when I can remote into your machine and debug? As the proper fix is autodetection of the correct method to use.
I guess we can this week, say, around 16:00 Sydney time.
Lets do Wednesday or Thursday 16:00 Sydney Time, let me know which day :) My skype username is balupton
Wednesday. 16. Mine's agolaru
FWIW, I've been having the same issue for a few weeks and the preferredMethods seems to have fixed it. The only issue now is that watching doesn't pick up changes for 2-3 seconds, which makes using the live-reload plugin somewhat pointless. I have an identical dev setup to @adrianolaru.
Please reinstall docpad and give this a go :)
I've done that... still testing...but...
when I edit with vim and use docpad run
I'm running docpad without any watchOptions in docpad.coffee... sublime text 3 is working just fine now...
K. Is it possible for me to remote in again?
Ok, reinstall docpad again, and test it out - the watchr version installed with docpad should be v2.4.3 now
This also seems to be the config option causing the problem in Sublime Text 3:
// Save via writing to an alternate file, and then renaming it over the
// original file.
we can do it again tomorrow...if there's still the need...
Yep, lets do it again. Keen to get this sorted. Also lets continue this discussion on the associated watchr issue instead: bevry/watchr#33