File watcher sees no JavaScript files in scope

I have a file watcher which should run browserify for .js files in a given scope. The scope contains .js files, yet watcher claims it does not. So when I change these .js files, the watcher is not triggered.

Looking at the Scopes editor it would seem that in the scope I use there are only .ts files:

But the .js files are there:

This setup worked perfectly until I bought a new subscription and switched PHPStorm versions from 2016.3 to 2017.2.3.

1 comment

These "invisible" files are the files that generated by Typescript compiler. They are recognized as JavaScript but somehow excluded from the project (notice a different icon). If I add a .js file manually it is recognized as a valid project file and "seen" by file watchers.

0

Please sign in to leave a comment.