[db-task][sync-changes] Failed to import asset

Hi. I’m having issues with cocos studio locking up. If I make a script change and there’s an error in the code, I get the following. I’m using version 1.7

[db-task][sync-changes] Failed to import asset /Volumes/westernDigital1tb/Documents/projects/cocos2dx/Test/assets/Script/tile.coffee, message: Compile error: [stdin]:1:10: error: missing }
2
cc.Class {

Then I have to restart cocos creator to continue my work. Any ideas?