Overgrow
(OG)
August 26, 2024, 10:40am
1
Can you help me troubleshoot this error?
When updating my .scss
file on a development server, I’m getting following error and I need to reload the page manually to see the changes.
CSS change notifier crashed
No such file or directory @ rb_sysopen - /home/overgrow/discourse/app/assets/stylesheets/discourse-custom-plugin.scss
It’s a .scss
file registered in plugin.rb
register_asset "stylesheets/custom-style.scss", :desktop
It’s the only stylesheet in the project.
I haven’t got a similar problem with any other plugin using the same method.
Can you share the repo please?
2 Likes
Overgrow
(OG)
August 26, 2024, 12:46pm
3
It’s my custom testing plugin on the local development server, there is no repo. Sorry.
How to track the source of the problem?
I’ve already tried to restart the Unicorn.
It can be a lot of things, even your path seems unexpected to me here, but honestly if you want us to dig this, build us a simple repository demonstrating the issue.
Make a copy of your plugin, and remove stuff till there’s the minimum needed for the error.
3 Likes
Overgrow
(OG)
August 26, 2024, 12:49pm
5
Sounds good, I’ll try if I can replicate it in a fresh repo. Thank you.
2 Likes