Sunday, November 03, 2024

Re: devel/intellij, devel/pycharm: update to 2024.2.4, add devel/intellij-fsnotifier

On 2024/11/03 14:27, Kirill A. Korinsky wrote:
> On Sun, 03 Nov 2024 14:17:24 +0100,
> Stuart Henderson <stu@spacehopper.org> wrote:
> >
> > On 2024/11/03 12:14, Klemens Nanni wrote:
> > > 03.11.2024 12:58, Kirill A. Korinsky пишет:
> > > > @@ -56,5 +57,7 @@ do-install:
> > > > @ln -s ${TRUEPREFIX}/bin/idea-lightedit \
> > > > ${PREFIX}/bin/intellij-lightedit
> > > > ${INSTALL_MAN} ${FILESDIR}/idea.1 ${PREFIX}/man/man1
> > > > +
> > > > + @echo "idea.filewatcher.executable.path=${LOCALBASE}/bin/intellij-fsnotifier" >> ${IJ}/bin/idea.properties
> > >
> > > Empty lines in targets look off, I don't think we do that.
> >
> > I have no problem with that. It helps readability sometimes.
> >
> > Not sure about enabling something that consumes large numbers of FDs by
> > default though. Do things work ok if the config is added but the dep is
> > not forced, i.e. "pkg_add this if you want the watcher"?
> >
>
> If the fs watcher consumes all available fds, the IDE simply says "not
> enough fds, please increase the limit" and degrades to the current behavior.

But the user then has (depending on what they've done with limits) a low
number of FDs available for their other processes. Some programs cope
with this very poorly.

No comments:

Post a Comment