You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this plugin, I have recently moved from metalsmith-in-place and metalsmith-layouts over to just metalsmith-jstransformer (run in two passes, one for markdown w/o layout and then the second w/ layouts).
Everything works great the first time, but if you're using metalsmith-watch and edit a file, the file will then lose layout on all subsequent builds until you kill the process and restart.
You're right, and thank you for the nice testing platform for it.
Moved your repo over to #32 so that we can test it more thoroughly. Watch may forget the existance of the layouts, so it doesn't re-apply them on the second build.
Thanks for this plugin, I have recently moved from
metalsmith-in-place
andmetalsmith-layouts
over to justmetalsmith-jstransformer
(run in two passes, one for markdown w/o layout and then the second w/ layouts).Everything works great the first time, but if you're using
metalsmith-watch
and edit a file, the file will then lose layout on all subsequent builds until you kill the process and restart.The repro is pretty simple, you can see it here in this gist: https://gist.github.com/fortes/eac83cfcc025e5f5afc4dd0c80e4741c
To run locally:
git clone https://gist.github.com/eac83cfcc025e5f5afc4dd0c80e4741c.git repro
and see the instructions inREADME.md
The text was updated successfully, but these errors were encountered: