tillberg/timeline

Bug: Timelines Not Being Added or Changed

Closed this issue · 2 comments

I've been looking for something like this for a while. If someone didn't make it, I was going to make something similar for myself. So, thanks!

The problem that I'm having is that I cloned the repo. I've made some changes to the folder with timeline data. I've added some new files. So, currently, there should be no example data left. However, it's still showing data from one of the old files. Is there a place that I'm supposed to declare where I am adding my data? Thanks!

Is it maybe possible that you have a maybe-hidden backup file of one of the examples still in the folder you're working in? e.g. emacs drops copies of files ending in tilde by default. Those will get picked up by timeline. You could add a console.log(filename); just before this line to see each file as it is loaded by the server:

memo[filename] = fs.readFileSync(filename, 'utf8');

(you're welcome! glad you like it!)

Actually, I'm on a Windows machine. But I think the problem was that I wasn't in the folder directory when I started the server. So, it couldn't find my files. So, I got it working. Thanks!