How do I force middleman to reload when I edit the data file?
For example. This is my app:
├── Gemfile
├── Gemfile.lock
├── config.rb
├── data
│ └── products.yml
└── source
├── ...
When I edit data/products.yml
the data does not appear on the site until I manually restart the server with bundle exec middleman
.
It works if you manually add data
to the reload paths
middleman server --reload-paths data/