Re: How to test modules written in GJS



gjs runs in a separate session, so you won't be able to access anything from gnome-shell.

However in 3.5/6 you can reload just your extension ;)


On 22/08/12 19:05, Zhuo.M wrote:
> Hi,
> I know it might sounds like a retard or newbie question.
> I have write some modules for my extension and I had to test them by
> repeatedly  reload GJS(ALT+f2 r)
> If I using tty console and run like "gjs *.js" , some of the modules
> like "misc" or Main can't be imported.
>
> Is there any way to test them separately? Any suggestion will be helpful to me.
> _______________________________________________
> gnome-shell-list mailing list
> gnome-shell-list gnome org
> https://mail.gnome.org/mailman/listinfo/gnome-shell-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]