You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nice addin and thanks for keeping it up to date 馃憤
I'm noticing an issue with the generated .js file when compiling on save where if the .js file is open in Xamarin Studio, it doesn't reflect changes from compiling the corresponding .ts file.
Reproduction steps:
1.Create/add to project myclass.ts
2.Create simple class
classMyClass{}
3.Save (with option to compile on save enabled).
4.Add myclass.js to project and open it.
5.Modify myclass.ts and save
6.myclass.js hasn't updated since first opened.
I'm not sure the best way to approach the problem, as when I've done it in the past for an Xamarin Studio addin, the best way I could find was to force the IDE to close and reopen the file, like so. Any ideas?
Using Xamarin Studio 5.10.1 (build 6) and addin version 0.9 on OSX
The text was updated successfully, but these errors were encountered:
The TypeScript addin should call the FileService.NotifyFileChanged after it compiles the file, but currently it is not doing that. This should cause the file to automatically be reloaded in the text editor.
FileService.NotifyFileChanged does not always cause the file to be reloaded even if the autoreload flag is set. In Xamarin Studio 5 when FileService.NotifyFileChanged is called the changed file is automatically reloaded by the FileRegistry class. However if FileService.NotifyFileChanged is called when the document is being saved then all file changes are ignored since the TrackFileChanges flag is set to false.
This is a problem for the TypeScript addin since it uses the FileService.FileChanged event when compile on save is being used. So the TypeScript addin may have to reload the file itself.
Nice addin and thanks for keeping it up to date 馃憤
I'm noticing an issue with the generated
.js
file when compiling on save where if the.js
file is open in Xamarin Studio, it doesn't reflect changes from compiling the corresponding.ts
file.Reproduction steps:
1.Create/add to project
myclass.ts
2.Create simple class
3.Save (with option to compile on save enabled).
4.Add
myclass.js
to project and open it.5.Modify
myclass.ts
and save6.
myclass.js
hasn't updated since first opened.I'm not sure the best way to approach the problem, as when I've done it in the past for an Xamarin Studio addin, the best way I could find was to force the IDE to close and reopen the file, like so. Any ideas?
Using Xamarin Studio 5.10.1 (build 6) and addin version 0.9 on OSX
The text was updated successfully, but these errors were encountered: