I am running an application that is built with LiveScript, which is a fork of a fork of Coffeescript.
You can execute files using the lsc command, ie
$ lsc app.ls
However, in the recent update, the way modules are required changes, ie
require!{ module : \directory }
Has now become
require!{ \directory : module}
This leaks to breaking changes in my app. I have updated the globally installed LiveScript package to 1.3+, and updated the require syntax, but now when I try and run an old app with the old require syntax the app breaks and I need to reinstall the globally installed LiveScript package to get it to work.
Is there anyway to run version <= 1.2 modules and 1.3+ modules from the same command line? Or do I need to reinstall the package globally everytime?
I can only suggest to not use global installation. It's quite bad by itself, and definitely not usable in this case.
I will show you how to install and use multiple versions of LiveScript isolated in a folder.
It should be possible to have one version installed globally and one like this, too.