lua-users home
lua-l archive

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


Thank you for the answer, but it still doesn't seem to work for me.
Also, it seems like there are 2 separate launchers in the same directory, could it be possible that it might be running the other one (without the extra options)?

--
Jitesh Pabla

On Tue, Jul 24, 2018 at 1:46 PM, Pierre Chapuis <catwell@archlinux.us> wrote:
On Mon, Jul 23, 2018, at 18:47, jitesh pabla wrote:
Hello everyone,

I am using CGILua (keplerproject.github.io/cgilua/) in a project in which the data displayed on the page is constantly changing (The data being a table being imported from some other lua script). But I cannot get the data to update on the CGILua page unless I make a change in the source page to force CGILua to re-run the Lua code in that page.

You may want to change the reload option in CGILua [1].

Be careful not to do that in production if you have a lot of traffic, for performance reasons...

[1] https://github.com/keplerproject/cgilua/blob/30cb89377f75687a9c507e03351848ff2446755f/src/launchers/cgilua.fcgi#L26

--
Pierre Chapuis