nativescript-dev-webpack
                                
                                 nativescript-dev-webpack copied to clipboard
                                
                                    nativescript-dev-webpack copied to clipboard
                            
                            
                            
                        Pasting a new -page file not detected in app subfolder
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 5.0.0
- Node.js: 9.5.0
Describe the bug
After tns run android/ios --bundle and on a Vanilla JS hello world application and pasting main-page.css file with some style in it the file is not detected and no webpack build is triggered. This happens on Mac or Windows
To Reproduce
- Create a new Vanilla JS tabs application
- Install nativescript-dev-webpack
- Run tns run android/ios --bundle
- Create a file outside of the current application named home-items-page.css with the following content:
Label {
    color: red;
}
- Copy the file in finder (or Windows explorer) and paste the file inside the app/home folder.
After you paste the file no webpack build is triggered.
Expected behavior The webpack should be triggered and the items in the list should become red.
Additional context The issues might be only when using finder as copying through VS Code or command line triggers the webpack build. It's interesting that pasting a file in the app/ folder restarts the webpack build, but in the subfolders not. And pasting a file with different name (not -page.css) works as well.