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
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Instead of vaguely explaining, here are the steps for reproducing the bug:
If you have a Yeoman-created project folder i.e. generator-webapp created project, run grunt serve. It'll create a .tmp file, and I'll assume you haven't had one at first.
When everything goes well expand the folder .tmp in Atom so you can see the subfolders inside.
Stop the grunt process.
Run grunt serve again, and it will run grunt-contrib-clean to delete .tmp.
It won't. .tmp will still exist as a "corrupted file" and you can't delete it by the Windows Explorer. Command line will show Warning: Unable to create directory [path to .tmp folder]" (Error code: EPERM). Use --force to continue. when trying to create a new .tmp folder.
Go to Atom and try to delete it, and the Dev Tools will show the same error: Uncaught Error: EPERM, operation not permitted: [path to .tmp folder]. All you need to do is close the folder again on the sidebar to remove the folder. I also tried the same method to Sublime Text, and it doesn't do the same, so I assume there's a clash between grunt-contrib-clean and Atom's way of handling files.
Atom is 0.123.0, and Windows is 8.1. Command line running Grunt is running as Administrator.
Instead of vaguely explaining, here are the steps for reproducing the bug:
generator-webappcreated project, rungrunt serve. It'll create a .tmp file, and I'll assume you haven't had one at first.grunt serveagain, and it will rungrunt-contrib-cleanto delete .tmp.It won't. .tmp will still exist as a "corrupted file" and you can't delete it by the Windows Explorer. Command line will show
Warning: Unable to create directory [path to .tmp folder]" (Error code: EPERM). Use --force to continue.when trying to create a new .tmp folder.Go to Atom and try to delete it, and the Dev Tools will show the same error:
Uncaught Error: EPERM, operation not permitted: [path to .tmp folder]. All you need to do is close the folder again on the sidebar to remove the folder. I also tried the same method to Sublime Text, and it doesn't do the same, so I assume there's a clash betweengrunt-contrib-cleanand Atom's way of handling files.Atom is 0.123.0, and Windows is 8.1. Command line running Grunt is running as Administrator.