eclipsesource / tabris-js

Create native mobile apps in JavaScript or TypeScript.
https://tabrisjs.com
BSD 3-Clause "New" or "Revised" License
1.4k stars 170 forks source link

Reload in Androids Dev app not working for TypeScript project #1789

Closed kc853 closed 5 years ago

kc853 commented 5 years ago

Problem description

I'm serving a TypeScript app created by tabris init. Changes in the app.ts code are not recognized on reloads in the Android dev app. Same procedure for a JavaScript app works fine.

Expected behavior

Code changes take effect on reload in Android dev app for TypeScript projects

Environment

cookieguru commented 5 years ago

Are you running tabris serve-w?

PS, 3.0.0 (in beta) has automatic reloading

kc853 commented 5 years ago

The -w switch does help indeed! Why is this just for TypeScript apps?

cookieguru commented 5 years ago

It would work equally well if you're using vanilla JS, e.g. Babel or some other transpiler.

kc853 commented 5 years ago

OK, thank you.