-
Notifications
You must be signed in to change notification settings - Fork 7
ssg-dev
doesn't detect new markdown files
#15
Comments
I'm building off ssg-demo. Problem might be on that end ... |
When I enabled debugging with
It seems like the index of files is only created once and isn't recreated after that? |
Do we really only want to call |
ssg-dev
doesn't detect new markdown files
BTW I'm not a frontend developer so am unsure how to set up my environment to attempt ^^. I tried cd'ing to Some basic "contributing" tips would be helpful. It seems like I need to clone ssg into |
hey @justinmoon! sorry for delayed response. you're right on both counts - ssg dev should detect new markdown files, AND i should have some contributing tips. i would say that the first part isnt high priority but the second one is. don't worry - this kind of thing isnt standard knowledge even for frontend devs. i should probably just record something for you asap. |
i unfortunately dont have the bandwidth to record something for you today. long story short - ssg is written in typescript, so typescript compiles from a this may shock you but i havent really implemented the local dev story yet for contributing to ssg. i think we'll probably want to use |
ssg
is running viassg dev
.I have a
content/
folder with markdown files.I type
touch content/new.md
. The server logscontent/new.md changed. rebuilding...
new.md
is not returned bythis.ssgData({})
inside routepreload
functions.I kill the server and re-run
ssg dev
and nownew.md
is returned bythis.ssgData({})
The text was updated successfully, but these errors were encountered: