serve dev version when launched from file or without port