phonegap / phonegap-cli

PhoneGap and PhoneGap/Build command-line interface
Apache License 2.0
491 stars 156 forks source link

ENOENT: no such file or directory when renaming file in www directory #741

Open GitToTheHub opened 7 years ago

GitToTheHub commented 7 years ago

PhoneGap CLI, node & npm versions

CLI: 7.0.1, Node: 7.9.0, NPM: 4.2.0

Expected Behaviour

It should be possible to rename a file in the project folder without that an error occures

Actual Behaviour

The CLI will throw an error or will crash if you rename a file in the www directory. If the CLI only throws an error, it could be possible, that the renamed file is not accessible on the phone, until you restart the phonegap developer app.

Steps to Reproduce

Error messages

Error without crash: ENOENT: no such file or directory, open 'F:...\www\img\old_filename.png'

Error with crash: There was an unhandled exception within phonegap-cli! If you would like to help the PhoneGap project, please file the following details over at https://github.com/phonegap/phonegap-cli/issues Error: ENOENT: no such file or directory, open 'F:...\www\img\old_filename.png'

surajpindoria commented 7 years ago

Hi @GitToTheHub,

I can confirm this is an issue and will continue to look into it. Thanks for reporting this!

GitToTheHub commented 7 years ago

Thanks, i hope it will be fixed soon.

codingfriend1 commented 7 years ago

I'm having this same issue.