Corona stopped reloading each time I make a change

This isn’t really a Corona bug as such more something that has gone wrong on my mac however this seemed like the best place for the question.

We have been developing a project on dropbox.  Something has happened so when I do an edit to a file and save, I have to manually reload the app for the updates to apply.  On any other project (including others based on dropbox) Corona reloads automatically.  This is not the end of the world but it is an unnecessary job.

Question is how do I stop it from happening?

@Supertapp: I’m having the same issue. No luck in solving it as of yet. Also, before this issue started, the simulator stopped automatically opening my last-used project. Haven’t been able to solve either issue.

In simulator: File > Preferences

@piotrz55: Yup, I know that. My preference for “Relaunch Simulator” is set correctly, and for some reason the preference for “Automatically open last project” won’t stick.

Did you restart your mac? When this happens to me a quick restart solves it.

For me it’s something to do with a combination of dropbox, sublime and Corona.  If I work outside of dropbox its just fine.  I dont think Corona likes it if files are changed or synced while the sim is running as it seems to lose track of the files it must monitor

Network drives don’t manage file update attributes the same way local drives do.  Any time you use a network drive (mounted from another computer) Corona can’t detect when files are updated and won’t auto relaunch.

Rob

@Rob Miracle: Thanks for the information. Though Dropbox folders are local, and are synced to the Dropbox server; they’re not actually network drives.

What’s odd is that the combination of Dropbox/Sublime was working with the simulator just fine for so long, and has only now become an issue. I think I’ll reinstall Corona and see if that clears it up.

While they are local files, they have other processes that are opening and closing them to sync them with the server.  I don’t know what attributes are the cause, but Dropbox folders behave like network drives with regards to Corona SDK’s ability to see if the file was updated.

@Rob Miracle: Thanks for the explanation. Given the other issues I’ve had with Dropbox and Corona, I think I’ll just move my project folder out of Dropbox. Should simplify things all around.

@Supertapp: I’m having the same issue. No luck in solving it as of yet. Also, before this issue started, the simulator stopped automatically opening my last-used project. Haven’t been able to solve either issue.

In simulator: File > Preferences

@piotrz55: Yup, I know that. My preference for “Relaunch Simulator” is set correctly, and for some reason the preference for “Automatically open last project” won’t stick.

Did you restart your mac? When this happens to me a quick restart solves it.

For me it’s something to do with a combination of dropbox, sublime and Corona.  If I work outside of dropbox its just fine.  I dont think Corona likes it if files are changed or synced while the sim is running as it seems to lose track of the files it must monitor

Network drives don’t manage file update attributes the same way local drives do.  Any time you use a network drive (mounted from another computer) Corona can’t detect when files are updated and won’t auto relaunch.

Rob

@Rob Miracle: Thanks for the information. Though Dropbox folders are local, and are synced to the Dropbox server; they’re not actually network drives.

What’s odd is that the combination of Dropbox/Sublime was working with the simulator just fine for so long, and has only now become an issue. I think I’ll reinstall Corona and see if that clears it up.

While they are local files, they have other processes that are opening and closing them to sync them with the server.  I don’t know what attributes are the cause, but Dropbox folders behave like network drives with regards to Corona SDK’s ability to see if the file was updated.

@Rob Miracle: Thanks for the explanation. Given the other issues I’ve had with Dropbox and Corona, I think I’ll just move my project folder out of Dropbox. Should simplify things all around.

After some experimenting it looks to me like this behavior only happens in the “CoronaViewer” folder in Dropbox. Simulator relaunches just fine on saved changes in other folders but with the Apps/CoronaViewer folder things seem to go weird.

I don’t know if that sheds any light on the situation but a fix would be helpful since frequently I’m trying out changes where I’m viewing both my iPhone and a simulated android phone.