David Laberge
David Laberge

Reputation: 16051

webstorm file watcher not working on one file

We are currently working with TypeScript in Webstorm. We setup the fileWatcher a while a go. Everything was working fine. Yesterday, the file watcher stop working on one file, at least that I noticed. The other script file are working fine, but in this file I need to delete the js file that are compiled to force a new creation of the file.

The error happens in webstorm 8 and the latest release of webstorm 9 (138.2406). In the webstorm 9, the event logger rises the following error : AssertionError: null

Does anyone else have that error?

Also, the transpiled file are not place under the ts file.

Upvotes: 0

Views: 1360

Answers (1)

David Laberge
David Laberge

Reputation: 16051

I would appears that the documentation above the function is important for the transpiler. Thous having a @returns line with no information on what the function returns won't let the transpiler do it work.

It took us some time to find it, but if anyone have the issue this is how we fixed it.

Upvotes: 1

Related Questions