dart - Weird DartEditor behavior / bug? -
i'm working on little website using dart. have 1 project server, , client app (see picture below)
in server app serve client app client project this
runserver() { var statichandler = createstatichandler(r"c:\users\lukasz\dart\linkshepherdclient\web\", defaultdocument: 'linkshepherd.html',servefilesoutsidepath: true); var handler = new cascade() .add(statichandler) .add(routes.handler) .handler; io.serve(handler, internetaddress.loopback_ip_v4, 8080).then((server) { print('listening on port 8080'); }).catcherror((error) => print(error)); }
everything worked fine. changes in client project stopped affecting site served server (a site still loads, older version, different styling, importantly older .dart script file). when run client directly it's project date. opening , closing editor not help. dart editor creating sort of cache?
the cache might dart:io
. should launch pub serve
instance , redirect during development anyway. way transformers (angular, polymer, ...) applied well. when deployed server should serve build output of client.
Comments
Post a Comment