NEARStudio
NEARStudio copied to clipboard
Don't open the new page before successful compilation
Studio opens a new page even if the contract compilation fails.
We have to open new page before we know compilation results, as otherwise popup will get blocked (has to be opened as reaction to user action, i.e. Run button).
If it's not closed when compilation fails – it's a bug however. I think there are some edge cases.
We should compile on Save (if TS code is modified). And only enable "Run" button when the compilation succeeds
let's deal with it after moving from WASMStudio