目前似乎对于sails.js应用程序中的任何代码更改,您必须手动停止sails服务器并sails lift再次运行,然后才能看到更改.
我想知道在开发模式下运行时是否有任何方法在检测到代码更改时自动重启sails服务器?
我有一个超级简单的小OS X应用程序,其中包含最小的嵌入式webkit视图,需要启用客户端SQL数据库支持.我已将测试应用程序放在github上,但无法让客户端存储工作.
我正在使用Xcode v3.2.3和它提供的WebKit框架,但是我也尝试过每晚使用webkit而没有运气.
我通过'网络'插座设置首选项:
WebPreferences *prefs = [web preferences];
[prefs _setLocalStorageDatabasePath:@"/tmp"];
[prefs _setLocalStorageDatabasePath:@"/tmp"];
[prefs setDatabasesEnabled:YES];
[prefs setLocalStorageEnabled:YES];
[prefs setDeveloperExtrasEnabled:YES];
Run Code Online (Sandbox Code Playgroud)
如果有人可以在github上分叉应用程序或者指出我还需要做什么,那将非常感激:)