Open psvensson opened 8 years ago
If could have the foo.replace('www','app') to use, instead of the fixed directory name 'app', the value of "app-dir" from evothings.json...
...I would not noticed there is anything suspicious going on
Yes, absolutely. This is the way we are thinking as well.
Due to reasons, it was nontrivial to just detect file changes in a _filescyn directory anywhere in an es6 project, since basedir got magically remapped to basedir+wwwPath between detection and injection. A quick fix was inflicted on the studio to see if the path ended in /www and then instead check in foo.replace('www','app'). That's no way to behave at a rock'n'roll concert, but time was short.
Revisit this and give it some more love, possible in combination with moving to a proper app registry instead of setting lots of globals when apps change. Plz.