Splitting routes and autoreload in development

I’m trying to split my rails application routes following the pattern used by Gitlab. But I didn’t succeeded at implementig routes custom files autoreloading. I’ve seen article using file_watcher but it didn’t work. What should I do to ensure that when updating my custom routes files they are automatically reloaded in development?

Found a solution finally

Please provide me a solution for this