Same js file different arguments?

Andrew Linson's icon

Hello

I made a utility js file that takes in arguments from m4l. I setup two js instances with the same file, but different arguments. My problem is, the arguments seem to override eachother.

Sometimes both instances print args of instance A or both print args of instance B. I see expected behavior when I add a compile message before the js instance... but from the docs, it seems like I shouldn't need to do that?

Instances:
js clip_loader.js 1
js clip_loader.js 2

export function msg_int(enabled: number) {

// @ts-ignore

// eslint-disable-next-line no-undef

log.debug(jsarguments);

}