hot reloading not working
nicpitsch opened this issue · comments
Issue
I have installed CogearJS according to documentation and created a new site. The site is running on http://localhost:9000. Changing and saving content, like e.g. within ./public/pages/index.md, and saving has no effect, the running site always shows the old content. The console where cogear is running displays no information about an error or so.
The hot reloading feature seams not to work.
Setup
npm install cogear -g
cogear new mysite
cd mysite
cogear -w
Environment
- Windows 10 Pro.
- NodeJS v10.11.0.
- NPM 6.4.1.
- Cogear 1.2.17.
One moment, I'll reproduce this bug on Windows to figure out the reason.
We use chokidar package to watch on files changes.
It's just don't work on Node v10.x on Windows.
Will figure out the bug and fix it in next commit.
Fixed.
Try v1.2.18.
That's it - it works just fine now. Thank's a lot!
The Blog part of the cogear-preset-blog doesn't reflect content changes, although the console tells like [hh:mm:ss] Changed: \p\first-post.md
. On the other side the About page works.
The Blog part of the cogear-preset-blog doesn't reflect content changes, although the console tells like
[hh:mm:ss] Changed: \p\first-post.md
. On the other side the About page works.
Please, create another issue!